[Shared][UnitTests] Add vitest config for even faster unit tests

This commit is contained in:
Aaro Koivukangas
2026-07-26 16:36:25 +03:00
parent 75a65693d4
commit 1e350ed4be
+14
View File
@@ -0,0 +1,14 @@
import { defineConfig } from 'vitest/config'
// oxlint-disable-next-line no-default-export
export default defineConfig({
test: {
reporters: ['tree'],
exclude: ['./dist', 'node_modules'],
pool: 'threads',
testTimeout: 10_000, // 10s timeout
sequence: {
concurrent: true, // Enable parallel tests by default
},
},
})