Skip to content

Commit

Permalink
vx: align testMatch with jest 27
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Jan 8, 2022
1 parent f65379f commit 377f30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vx/config/jest/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ module.exports = (custom = {}) => ({
path.resolve(vxPath.JEST_CONFIG_PATH, 'jest.setupAfterEnv.ts'),
].concat(setupAfterEnvPerPackage),
testEnvironment: 'node',
testMatch: [vxPath.packageSrc('*', `/**/${opts.dir.TESTS}/*.(spec|test).ts`)],
testMatch: [vxPath.packageSrc('*', `**/${opts.dir.TESTS}/*.(spec|test).ts`)],
...custom,
});

0 comments on commit 377f30e

Please sign in to comment.