// Vitest infra config wires the infra test shard. import { createScopedVitestConfig } from "./vitest.scoped-config.ts"; import { boundaryTestFiles } from "./vitest.unit-paths.mjs"; export function createInfraVitestConfig(env?: Record) { return createScopedVitestConfig(["src/infra/**/*.test.ts"], { dir: "src", env, exclude: boundaryTestFiles, fileParallelism: false, isolate: true, name: "infra", passWithNoTests: true, pool: "forks", }); } export default createInfraVitestConfig();