Adapt vitest to exclude e2e tests

This commit is contained in:
Matthias 2024-04-08 07:02:07 +02:00
parent 0ae16e94df
commit 3177cbc51e

View File

@ -63,4 +63,14 @@ export default defineConfig({
host: '127.0.0.1', host: '127.0.0.1',
port: 3000, port: 3000,
}, },
test: {
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/cypress/**',
'**/e2e/**',
'**/.{idea,git,cache,output,temp}/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',
],
},
}); });