Skip to content
Merged
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
2 changes: 2 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export default defineConfig({
"**/dist/**",
// Playwright's own e2e suite lives under src/bridges/user/web/e2e and is driven by `pnpm test:e2e`, not vitest -- its *.e2e.test.ts files would otherwise also match vitest's default **/*.test.ts discovery glob.
"src/bridges/user/web/e2e/**",
// Stryker's own instrumented sandbox copies of the source (each mutant gets a full copy under .stryker-tmp/sandbox-*/), including its own nested copy of the e2e suite above -- the exclude pattern for that suite only matches the real src/ path, not this prefixed one, so running `pnpm test` (e.g. via the pre-push hook) while a mutation run's sandbox exists on disk picks up Playwright's own e2e tests and fails on `test.describe()` being called outside a Playwright config. Matches the same exclusion eslint.config.ts's `ignores` and stryker.config.ts's own `ignorePatterns` already carry, for the identical reason.
".stryker-tmp/**",
],
},
});