chore: vitest 4 for web, cli, and e2e (#26668)

This commit is contained in:
Daniel Dietzler
2026-03-04 15:19:13 +01:00
committed by GitHub
parent 5989c9b4aa
commit 3c476b1987
16 changed files with 399 additions and 223 deletions

View File

@@ -1,3 +1,4 @@
import tsconfigPaths from 'vite-tsconfig-paths';
import { defineConfig } from 'vitest/config';
const skipDockerSetup = process.env.VITEST_DISABLE_DOCKER_SETUP === 'true';
@@ -20,10 +21,8 @@ export default defineConfig({
globalSetup,
testTimeout: 15_000,
pool: 'threads',
poolOptions: {
threads: {
singleThread: true,
},
},
maxWorkers: 1,
isolate: false,
},
plugins: [tsconfigPaths()],
});