YAS/apps/api/vitest.config.ts
YetAnotherSuite Dev c7d98523c6
Some checks failed
CI / Quality Check (push) Has been cancelled
init backup
2026-07-23 23:33:50 +02:00

14 lines
362 B
TypeScript

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,
},
});