import { defineConfig } from "vitest/config"

export default defineConfig({
  test: {
    include: ["src/**/*.test.ts"],
    // Use forks (separate process per file) instead of the default threads.
    // Multiple test files calling parser.configure() in beforeAll share
    // Lezer's module-level node type registry, which corrupts across threads.
    pool: "forks",
  },
})
