Cotton code
13 lines · 491 B · TypeScriptRaw
// `pnpm perf:fan` only: the fan's budgets (fan.budgets.ts) need a simulator and// the build lock, so they are budget runs, not suite tests: outside `scripts/__tests__`, not named *.test.ts (the test-file guard), and outside the root// suite's include, and run one file in one fork.import { defineConfig } from "vitest/config";export default defineConfig({  test: {    include: ["scripts/perf/**/*.budgets.ts"],    pool: "forks",    maxWorkers: 1,    testTimeout: 60_000,  },});