refactoring magic strings in layout.server file (guard), including new routes and tests

This commit is contained in:
2025-09-26 11:59:21 +02:00
parent 59abf0880d
commit f43497d69c
4 changed files with 42 additions and 3 deletions

View File

@@ -44,3 +44,10 @@ export const baseData = {
url: `https://example.com/${testVorgangsList[0].vorgangToken}`,
crimeNames: ['modell-A', 'Fall-A']
};
export const mockEvent = {
locals: {
user: baseData.user
},
url: new URL(`https://example.com/anmeldung`)
};