import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { globals: true, env: { DATABASE_URL: process.env.DATABASE_URL ?? 'postgresql://postgres:postgres@localhost:5433/yetanother?schema=public', JWT_SECRET: process.env.JWT_SECRET ?? 'test-secret', NODE_ENV: 'test', }, testTimeout: 10000, }, });