From e0c2b62a6c096917174290b40a7ae1012be3545a Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Fri, 20 Nov 2020 14:04:02 +0000 Subject: [PATCH] Tools: Fixed tests when running them from root --- packages/app-cli/jest.config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/app-cli/jest.config.js b/packages/app-cli/jest.config.js index 817e79f07..ac4ac5f7b 100644 --- a/packages/app-cli/jest.config.js +++ b/packages/app-cli/jest.config.js @@ -30,11 +30,11 @@ module.exports = { ], testPathIgnorePatterns: [ - '/node_modules/', - '/tests\\/support/', - '/build/', - 'test-utils.js', - 'file_api_driver.js', + '/node_modules/', + '/tests/support/', + '/build/', + '/tests/test-utils.js', + '/tests/file_api_driver.js', '/tests/tmp/', ], @@ -52,5 +52,5 @@ module.exports = { ], testEnvironment: 'node', - setupFilesAfterEnv: ['./jest.setup.js'], + setupFilesAfterEnv: [`${__dirname}/jest.setup.js`], };