Skip to content

Commit 2f6fd64

Browse files
Exclude Playwright e2e tests from Vitest runner
Vitest was collecting e2e/*.spec.ts files that use Playwright's test API, causing 3 suite failures. Adding test.exclude for the e2e directory fixes this. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 95210ab commit 2f6fd64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import vue from '@vitejs/plugin-vue'
44
// https://vite.dev/config/
55
export default defineConfig({
66
plugins: [vue()],
7+
test: {
8+
exclude: ['e2e/**', 'node_modules/**'],
9+
},
710
server: {
811
proxy: {
912
'/predict': 'http://localhost:8080/',

0 commit comments

Comments
 (0)