import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { environment: 'node', globalSetup: './vitest.global-setup.ts', // The DB-backed persistence suite shares one database; run files serially // so they cannot race each other (mirrors the api's vitest config). fileParallelism: false, }, });