14 lines
406 B
TypeScript
14 lines
406 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
environment: 'node',
|
||
|
|
include: ['../tests/integration/**/*.test.ts'],
|
||
|
|
testTimeout: 30000,
|
||
|
|
hookTimeout: 60000,
|
||
|
|
// Integration tests boot a real Nuxt server + PocketBase instance; running
|
||
|
|
// several of those concurrently is wasteful, not parallel-safe by design.
|
||
|
|
fileParallelism: false,
|
||
|
|
},
|
||
|
|
})
|