diff --git a/webapp/packages/core-cli/configs/jest.config.js b/webapp/packages/core-cli/configs/jest.config.js index bd45867c01..c0687ed72a 100644 --- a/webapp/packages/core-cli/configs/jest.config.js +++ b/webapp/packages/core-cli/configs/jest.config.js @@ -13,7 +13,10 @@ module.exports = { testEnvironment: require.resolve('../tests/test.environment.js'), rootDir: path.resolve('.'), moduleFileExtensions: ['js', 'jsx', 'json'], - testMatch: ['/packages/*/dist/**/?(*.)+(spec|test).js?(x)', '/dist/**/?(*.)+(spec|test).js?(x)'], + testMatch: [ + '/packages/*/dist/**/?(*.)+(spec|test).js?(x)', // unix + '\\packages\\*\\dist\\**?(*.)+(spec|test).js?(x)', // windows + ], transformIgnorePatterns: [ '\\.pnp\\.[^\\/]+$', 'node_modules/(?!@ngrx|(?!deck.gl)|ng-dynamic)',