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 51ce84a commit cbd42c1Copy full SHA for cbd42c1
util/common-config/jest-common.js
@@ -56,14 +56,19 @@ module.exports = {
56
],
57
globals: {
58
__TEST_RESOURCE_STRINGS: combinedResourceStrings,
59
- "ts-jest": {
60
- diagnostics: {
61
- // Squelch a warning with outputting ES6 modules (in tsconfig.json)
62
- ignoreCodes: [151001],
+ },
+ transform: {
+ "^.+\\.tsx?$": [
+ "ts-jest",
63
+ {
64
+ diagnostics: {
65
+ // Squelch a warning with outputting ES6 modules (in tsconfig.json)
66
+ ignoreCodes: [151001],
67
68
+ // Greatly speed up tests at the expense of type checking
69
+ isolatedModules: true,
70
},
- },
- // Greatly speed up tests at the expense of type checking
- isolatedModules: true,
71
+ ],
72
73
};
74
0 commit comments