Initial commit

This commit is contained in:
2026-06-24 23:47:55 -07:00
commit d134b480a0
297 changed files with 30726 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
import { defineConfig } from "vitest/config"
import tsconfigPaths from "vite-tsconfig-paths"
export default defineConfig({
plugins: [
tsconfigPaths({
root: ".",
projects: ["./tsconfig.json", "./tests/tsconfig.json"],
}),
],
test: {
globals: true,
root: ".",
globalSetup: "./tests/global-setup.ts",
setupFiles: ["./tests/setup.ts"],
isolate: true,
poolOptions: {
forks: {
singleFork: true,
},
},
forceRerunTriggers: [
"**/*.(html|txt)", // Rerun tests when data files change
],
// Mocking
clearMocks: true,
mockReset: true,
restoreMocks: true,
unstubEnvs: true,
unstubGlobals: true,
},
})