openvibers/openvibe.games vitest.config.ts

vitest.config.ts

main 677 B · 17 lines · typescript

1import { defineConfig } from 'vitest/config'
2
3export default defineConfig({
4 test: {
5 // The architecture audit runs with everything else now that it is green.
6 // It was excluded while the transitional editor still existed; leaving
7 // it out any longer would mean the normal test command deliberately
8 // skipped architectural correctness.
9 include: ['packages/**/*.test.ts', 'apps/**/*.test.ts', 'apps/**/*.audit.ts'],
10 exclude: ['**/node_modules/**', '**/dist/**'],
11 environment: 'node',
12 // Every persistence test runs against a real in-memory PGlite (WASM), which takes seconds to start.
13 testTimeout: 30_000,
14 hookTimeout: 30_000,
15 },
16})
17