We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98ee42e + c7d9471 commit 5cbd979Copy full SHA for 5cbd979
1 file changed
packages/tools/cli/jest.config.js
@@ -20,8 +20,16 @@ module.exports = {
20
'^@objectql/server$': '<rootDir>/../../runtime/server/src',
21
},
22
transform: {
23
- '^.+\\.ts$': ['ts-jest', {
+ '^.+\\.(t|j)sx?$': ['ts-jest', {
24
isolatedModules: true,
25
+ tsconfig: {
26
+ esModuleInterop: true,
27
+ allowSyntheticDefaultImports: true,
28
+ allowJs: true,
29
+ }
30
}],
31
32
+ transformIgnorePatterns: [
33
+ "/node_modules/(?!(@objectstack|.pnpm))"
34
+ ],
35
};
0 commit comments