We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cd00e6 commit a9a3df0Copy full SHA for a9a3df0
1 file changed
README.md
@@ -127,14 +127,16 @@ then modify your `package.json` so the `jest` section looks something like:
127
{
128
"jest": {
129
"transform": {
130
- "^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
+ "^.+\\.tsx?$": "ts-jest"
131
},
132
- "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
+ "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
133
"moduleFileExtensions": [
134
"ts",
135
"tsx",
136
"js",
137
- "json"
+ "jsx",
138
+ "json",
139
+ "node"
140
]
141
}
142
0 commit comments