forked from cline/cline
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.test.json
More file actions
33 lines (33 loc) · 882 Bytes
/
tsconfig.test.json
File metadata and controls
33 lines (33 loc) · 882 Bytes
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
{
// This separate tsconfig is necessary because VS Code's test runner requires CommonJS modules,
// while our main project uses ES Modules (ESM). This config inherits most settings from the base
// tsconfig.json but overrides the module system for test files only. This doesn't affect how
// tests interact with the main codebase - it only changes how the test files themselves are
// compiled to make them compatible with VS Code's test runner.
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"types": [
"node",
"mocha",
"should",
"vscode",
"chai"
],
"typeRoots": [
"./node_modules/@types",
"./src/test/types"
],
"outDir": "out",
"rootDir": "."
},
"include": [
"src/**/*.test.ts"
],
"exclude": [
"src/test/**/*.js",
"src/**/__tests__/*",
"src/test/e2e/**/*.test.ts"
]
}