Files
LaurensBartelds ef8fe6f938
Test / backend (push) Failing after 9s
Test / frontend (push) Failing after 14s
feat: enhance testing framework with new test cases and configurations
2026-04-26 21:45:02 +02:00

8 lines
252 B
TypeScript

import { vi } from 'vitest'
vi.stubEnv('JWT_SECRET', 'test-secret-for-unit-tests-only')
vi.stubEnv('NODE_ENV', 'test')
vi.stubEnv('DB_PATH', ':memory:')
vi.stubEnv('CORS_ORIGIN', 'http://localhost:5173')
vi.stubEnv('APP_URL', 'http://localhost:5173')