Skip to content

Commit 2ba6d57

Browse files
committed
fix jest regex for gatsby?
1 parent fe21038 commit 2ba6d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
transform: {
3-
"^.+\\.(t|j)sx?$": "<rootDir>/jest-preprocess.js",
3+
"^.+\\.[jt]sx?$": "<rootDir>/jest-preprocess.js",
44
},
55
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.([tj]sx?)$",
66
moduleNameMapper: {

0 commit comments

Comments
 (0)