chore: full implementation of code review recommendations (security, quality, tests)

This commit is contained in:
ralksta
2026-03-07 09:27:47 +01:00
parent 6f4b441bd6
commit 280c5430ca
13 changed files with 240 additions and 41 deletions

7
vitest.setup.ts Normal file
View File

@@ -0,0 +1,7 @@
import { vi } from 'vitest';
// Set mandatory environment variables for all tests
process.env.IMMICH_API_URL = 'http://immich.test';
process.env.IMMICH_API_KEY = 'test-key';
process.env.AUTH_SECRET = 'test-auth-secret-32-chars-long-min';
process.env.SITE_TITLE = 'Test Gallery';