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 e409e1c commit b29b7e5Copy full SHA for b29b7e5
packages/server/jest.config.js
@@ -1,14 +1,16 @@
1
module.exports = {
2
- globals: {
3
- 'ts-jest': {
4
- tsConfig: './tsconfig.test.json',
5
- diagnostics: false,
6
- },
7
8
preset: 'ts-jest',
9
testEnvironment: 'node',
10
- roots: ['<rootDir>/tests'],
+ roots: [
+ '<rootDir>/tests',
+ ],
11
transform: {
12
- '^.+\\.tsx?$': 'ts-jest',
+ '^.+\\.tsx?$': [
+ 'ts-jest',
+ {
+ tsconfig: './tsconfig.test.json',
+ diagnostics: false,
13
+ },
14
15
},
-};
16
+}
packages/server/tsconfig.test.json
@@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "es5",
- "lib": ["es2015", "dom"],
+ "lib": ["es2015"],
"rootDir": "./",
"outDir": "lib",
"declaration": true,
0 commit comments