Files
vue-tui/packages/runtime-tests/vitest.pty.config.ts
T
Yunfei He 8befc0d0de fix: rewrite PTY tests to use node-pty directly, upgrade to 1.2.0-beta.13
node-pty 1.1.0's POSIX_SPAWN_CLOEXEC_DEFAULT flag fails on macOS 26 (Tahoe).
Beta.13 fixes this. Rewrote helpers to match Ink's node-pty architecture,
removed python pty-spawn and force-tty workarounds, added check-pty guard
that skips all 82 tests when node-pty is unavailable.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 01:08:25 +08:00

11 lines
222 B
TypeScript

import { defineConfig } from "vite-plus";
export default defineConfig({
test: {
include: ["integration/pty/**/*.test.ts"],
fileParallelism: false,
testTimeout: 15000,
env: { FORCE_COLOR: "3" },
},
});