chore: add PTY test vitest config and ready integration

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yunfei He
2026-05-26 22:11:21 +08:00
parent 8a3b60635d
commit 28d18bedda
4 changed files with 14 additions and 1 deletions
+2
View File
@@ -6,6 +6,8 @@ export default defineConfig({
test: {
// chalk disables color in non-TTY envs; force it on so ANSI style bugs don't hide from tests
env: { FORCE_COLOR: "3" },
// PTY tests run separately via vitest.pty.config.ts (they need node-pty, no parallelism, longer timeout)
exclude: ["integration/pty/**", "node_modules/**"],
},
lint: {
options: { typeAware: true, typeCheck: true },