mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[Shared][UnitTests] Add vitest config for even faster unit tests
This commit is contained in:
@@ -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
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user