feat: enhance testing framework with new test cases and configurations
Test / backend (push) Failing after 9s
Test / frontend (push) Failing after 14s

This commit is contained in:
LaurensBartelds committed 2026-04-26 21:45:02 +02:00
1 parent a37c093cc4
commit ef8fe6f938
18 files changed
+793 -6

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
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')