// Vitest config for integration tests — long timeouts, verbose output. import { defineConfig } from "vitest/config"; export default defineConfig({ test: { include: ["tests/integration/**/*.test.ts"], testTimeout: 600_000, // 10 minutes per test hookTimeout: 600_000, // 10 minutes for beforeAll/afterAll globals: true, reporters: ["verbose"], // Show each test name and timing pool: "forks", // Use forks for isolation (VMs need system resources) poolOptions: { forks: { singleFork: true }, // Run tests sequentially (one VM at a time) }, }, });