2f7babd258
node-pty requires child_process.fork(), not worker_threads. Explicit pool: forks + maxWorkers: 1 + isolate: false ensures single forked process execution. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
14 lines
280 B
TypeScript
14 lines
280 B
TypeScript
import { defineConfig } from "vite-plus";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ["integration/pty/**/*.test.ts"],
|
|
pool: "forks",
|
|
fileParallelism: false,
|
|
maxWorkers: 1,
|
|
isolate: false,
|
|
testTimeout: 10000,
|
|
env: { FORCE_COLOR: "3" },
|
|
},
|
|
});
|