Fix tests

This commit is contained in:
Pieter Vander Vennet 2024-01-07 17:59:10 +01:00
parent 3cbedf7cf2
commit c5f2f201b5
2 changed files with 10 additions and 5 deletions

View file

@ -5,6 +5,8 @@ export default defineConfig({
plugins: [svelte({ hot: !process.env.VITEST, preprocess: [autoPreprocess()] })],
test: {
globals: true,
maxThreads: 16,
minThreads: 1,
setupFiles: ["./test/testhooks.ts"],
include: ["./test/*.spec.ts", "./test/**/*.spec.ts", "./*.doctest.ts", "./**/*.doctest.ts"],
},