chore: add tsconfig.test.json for type-checking test files

This commit is contained in:
quotentiroler
2026-02-09 10:56:01 -08:00
parent 9b8481c834
commit 11910d49e0
2 changed files with 9 additions and 0 deletions

View File

@@ -98,6 +98,7 @@
"test:live": "OPENCLAW_LIVE_TEST=1 CLAWDBOT_LIVE_TEST=1 vitest run --config vitest.live.config.ts",
"test:ui": "pnpm --dir ui test",
"test:watch": "vitest",
"tsgo:test": "tsgo -p tsconfig.test.json",
"tui": "node scripts/run-node.mjs tui",
"tui:dev": "OPENCLAW_PROFILE=dev CLAWDBOT_PROFILE=dev node scripts/run-node.mjs --dev tui",
"ui:build": "node scripts/ui.js build",

8
tsconfig.test.json Normal file
View File

@@ -0,0 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true
},
"include": ["src/**/*.test.ts", "extensions/**/*.test.ts"],
"exclude": ["node_modules", "dist"]
}