We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6536e60 commit ee01548Copy full SHA for ee01548
crates/typescript-tests/jest.config.cjs
@@ -20,11 +20,11 @@ module.exports = {
20
".*/src/usize.ts$"
21
],
22
injectGlobals: false,
23
- globals: {
24
- 'ts-jest':
25
- {
26
- useESM: true,
27
- isolatedModules: true
28
- }
+ transform: {
+ '^.+.tsx?$': ['ts-jest',
+ {
+ useESM: true,
+ isolatedModules: true
+ }]
29
}
30
};
crates/typescript-tests/package.json
@@ -5,7 +5,7 @@
5
},
6
"devDependencies": {
7
"@types/jest": "^29.5.8",
8
- "ts-jest": "^29.1.1",
+ "ts-jest": "=29.2.0",
9
"typescript": "^5.2.2"
10
11
"type": "module"
crates/typescript-tests/tsconfig.json
@@ -2,6 +2,7 @@
2
"compilerOptions": {
3
"module": "commonjs",
4
"esModuleInterop": true,
+ "allowSyntheticDefaultImports": true,
"target": "es6",
"noImplicitAny": true,
"sourceMap": true,
0 commit comments