Roo-Code/tsconfig.test.json
2024-12-24 17:34:18 -08:00

13 lines
597 B
JSON

{
// 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"
},
"include": ["src/**/*.test.ts"]
}