Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion frontend/vite.renderer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ export default defineConfig({
],
test: {
environment: "jsdom",
exclude: ["node_modules/**", "dist/**", "dist-electron/**", "e2e/**"],
// Anchor node_modules at any depth: a bare "node_modules/**" replaces
// vitest's default "**/node_modules/**" and only matches the root, so the
// tracked src/landing preview app's nested node_modules would otherwise
// have its vendored third-party test suites collected and run.
exclude: ["**/node_modules/**", "dist/**", "dist-electron/**", "e2e/**"],
globals: true,
setupFiles: "./src/renderer/test/setup.ts",
},
Expand Down
Loading