import { defineConfig } from 'vitest/config' export default defineConfig({ test: { environment: 'node', globals: true, include: ['tests/**/*.test.ts'], // The publish gate runs on the real core: refuse a missing or stale module. globalSetup: ['../core-wasm/tests/global-setup.ts'], // PGlite boots a WASM Postgres per file: give it room on slow CI runners. testTimeout: 60_000, hookTimeout: 120_000, }, })