test: fix broken suites

This commit is contained in:
Linus Rath
2026-07-22 18:56:09 +02:00
parent 3f22a3323a
commit 813185e58d
6 changed files with 30 additions and 10 deletions
+5 -3
View File
@@ -9,9 +9,11 @@ export default defineConfig({
globals: true,
setupFiles: ['./vitest.setup.ts'],
// integration/** is the dockerized Playwright suite (run via
// `npm run test:integration`); examples/** is untracked sample code. Both
// use their own runners and must not be collected by vitest.
exclude: ['e2e/**', 'integration/**', 'examples/**', 'node_modules/**', '.next/**'],
// `npm run test:integration`); examples/** is untracked sample code; and
// repos/** holds sibling checkouts with their own runners. node_modules
// must be globbed at any depth or the nested repos/*/node_modules trees
// get collected too.
exclude: ['e2e/**', 'integration/**', 'examples/**', 'repos/**', '**/node_modules/**', '.next/**'],
},
resolve: {
alias: {