Update package dependencies to vitest v4.0.16 and enhance role management in auth utilities with new role-checking functions in tests
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 57s

This commit is contained in:
Torsten Schulz (local)
2025-12-20 10:25:16 +01:00
parent 42b9a10437
commit 4f453f77bc
9 changed files with 238 additions and 730 deletions

View File

@@ -27,6 +27,9 @@ import spielplaeneHandler from '../server/api/spielplaene.get.js'
describe('Öffentliche API-Endpunkte', () => {
beforeEach(() => {
// Setze SMTP-Credentials für Tests
process.env.SMTP_USER = 'test@example.com'
process.env.SMTP_PASS = 'test-password'
vi.restoreAllMocks()
vi.clearAllMocks()
})