16 lines
471 B
TypeScript
16 lines
471 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
// Integration files intentionally share one disposable database. Running
|
|
// their setup/cleanup concurrently makes otherwise isolated fixtures race.
|
|
fileParallelism: false,
|
|
include: [
|
|
'tests/integration/**/*.test.ts',
|
|
'packages/db/src/**/*.integration.test.ts',
|
|
],
|
|
env: { DEVRUNBOOK_DATABASE_INTEGRATION: 'true' },
|
|
testTimeout: 30_000,
|
|
},
|
|
})
|