import { defineConfig } from "vitest/config"; export default defineConfig({ test: { globals: true, environment: "node", testTimeout: 30000, // 30 seconds for integration tests hookTimeout: 30000, teardownTimeout: 10000, isolate: true, // Run each test file in isolation pool: "forks", // Use process forking for better isolation // Exclude our ad-hoc test files that aren't vitest-based exclude: [ "**/node_modules/**", "**/dist/**", "**/*.d.ts", "**/basic-test.ts", // Old manual test ], }, });