Roo-Code/tsconfig.test.json
akfoster 26ee05dd07
Add VSCode Webview Integration Tests (#1373)
* update ci/cd

* ci: more git actions

* remove duplicitive git actions file

* remove duplicative git actions file

* add default permissions

* chore: sync package-lock.json with main

* ci: Fix job name to match branch protection rule

* ci: Remove test file with formatting issues

* style: Fix formatting in modified files

* ci: Remove warning mode, keep webview tests

* fixed npm build issue

* fix formatting again

* Add webview tests

* fix formatting

* remove temporary docs

* remove unecessary auth and types

* move tmp in gitignore

* spare line

* restore prior comments in vscode-test

* remove redundant infrastructure

* prettier

* removed vestigial webviews

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-01-21 21:59:06 -08:00

16 lines
686 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",
"types": ["node", "mocha", "should", "vscode"],
"outDir": "out",
"rootDir": "src"
},
"include": ["src/**/*.test.ts"]
}