Skip to content

Commit dad3a79

Browse files
chore: include *.tests.js in jest
1 parent 83b997c commit dad3a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
"transform": {
33
"^.+\\.(ts|tsx|js|jsx)$": "ts-jest",
44
},
5-
"testRegex": "(/tests/.*|(\\.|/)(test|spec))\\.tsx?$",
5+
"testRegex": "(/tests/.*|(\\.|/)(test|spec|tests))\\.tsx?$",
66
moduleNameMapper: {
77
// Force module uuid to resolve with the CJS entry point, because Jest does not support package.json.exports. See https://github.com/uuidjs/uuid/issues/451
88
"uuid": require.resolve('uuid'),

0 commit comments

Comments
 (0)