Skip to content

Commit 6991743

Browse files
chore: another correction to jest config
1 parent 4200ff8 commit 6991743

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|tests))\\.tsx?$",
5+
"testRegex": "(/tests/.*|(\\.|/)(test|spec|tests))\\.(tsx?|js)$",
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)