Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
test: exclude Playwright e2e tests from vitest
Add vitest configuration to exclude tests/e2e/** directory from vitest
runs. This prevents vitest from attempting to execute Playwright test
files, which was causing CI failures.

The e2e tests should only be run via the dedicated test:e2e npm script
which uses Playwright's test runner.
  • Loading branch information
vgeorge committed Oct 7, 2025
commit 2ecfc40045cfa3db75c9e562535aa3f691a4bf8e
14 changes: 14 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { defineConfig } from "vitest/config";

export default defineConfig({
test: {
exclude: [
"**/node_modules/**",
"**/dist/**",
"**/cypress/**",
"**/.{idea,git,cache,output,temp}/**",
"**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*",
"**/tests/e2e/**", // Exclude Playwright e2e tests
],
},
});