import { defineConfig } from "vitest/config";import { takeWorkerCap } from "../../vitest.workers";// Only the tests run through Vite. The pages are built by src/site/build.ts// (`pnpm build`, `pnpm build:live`) from apps.json, src/site and content/.export default defineConfig({ test: { ...takeWorkerCap(), globalSetup: ["../../vitest.testfiles.ts"], environment: "node", include: ["src/**/__tests__/**/*.test.ts"], },});