-
-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathtsconfig.test.json
More file actions
57 lines (50 loc) · 1.29 KB
/
tsconfig.test.json
File metadata and controls
57 lines (50 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"extends": "./tsconfig.json",
"compilerOptions": {
// Test environment optimization configuration
"target": "ES2020",
"module": "commonjs",
"moduleResolution": "node",
// Performance optimization
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"isolatedModules": true,
"incremental": true,
"tsBuildInfoFile": "./node_modules/.cache/jest/tsbuildinfo",
// Disable strict checks to improve speed
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": false,
"noFallthroughCasesInSwitch": false,
// Enable decorator support (required for testing)
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// JSX settings
"jsx": "react-jsx",
// Enable ES module interoperability
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
// Other settings
"resolveJsonModule": true,
"declaration": false,
"sourceMap": false,
// Ensure correct base URL and path mappings
"baseUrl": "./",
"paths": {
"@services/*": ["./src/services/*"],
"@/*": ["./src/*"]
}
},
"include": [
"src/**/*",
"src/**/*.test.*",
"src/**/*.spec.*"
],
"exclude": [
"node_modules",
"out",
".webpack",
"features",
"template"
]
}