Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

vite.config.ts

15 lines387 Bytes

1import { defineConfig } from 'vitest/config'
2​
3export default defineConfig({
4 test: {
5 globalSetup: './support/global-setup.ts',
6 fileParallelism: false, // Critical: Serial execution for shared database
7 timeout: 30000,
8 environment: 'jsdom',
9 coverage: {
10 provider: 'istanbul',
11 reporter: ['text', 'json', 'html'],
12 include: ['**/src/**'],
13 },
14 },
15})