- Revert undici to v7.27.1 (v8 blocked by #5467 qBittorrent regression) - Broaden cache invalidation to utils.integration.invalidate() (covers all integration queries, not just integration.all) - Add invalidation to onboarding integration create path - Harden renovate test to assert allowBuilds key exists - Remove deprecated Vitest 4 poolOptions config - Fix CSS typo in docs menu transition (0.s → 0.5s) - Update renovate.json5 comment to reference allowBuilds
23 lines
650 B
TypeScript
23 lines
650 B
TypeScript
import react from "@vitejs/plugin-react";
|
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
import { configDefaults, defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tsconfigPaths()],
|
|
test: {
|
|
setupFiles: ["./vitest.setup.ts"],
|
|
environment: "jsdom",
|
|
include: ["**/*.spec.ts"],
|
|
clearMocks: true,
|
|
coverage: {
|
|
provider: "v8",
|
|
reporter: ["html", "json-summary", "json"],
|
|
all: true,
|
|
exclude: (configDefaults.coverage.exclude ?? []).concat("apps/nextjs/.next/"),
|
|
reportOnFailure: true,
|
|
},
|
|
|
|
exclude: [...configDefaults.exclude, "apps/nextjs/.next"],
|
|
},
|
|
});
|