feat(join): A4 — Join household (accept invite) #61

Merged
marcel merged 24 commits from feat/issue-21-join-household into master 2026-04-19 14:29:14 +02:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 230ee5a067 - Show all commits

View File

@@ -1,4 +1,5 @@
import { fail, redirect } from '@sveltejs/kit';
import { dev } from '$app/environment';
import { apiClient } from '$lib/server/api';
import type { Actions, PageServerLoad } from './$types';
@@ -74,7 +75,7 @@ export const actions = {
path: '/',
httpOnly: true,
sameSite: 'lax',
secure: true
secure: !dev
});
}

View File

@@ -4,6 +4,8 @@ vi.mock('$env/dynamic/private', () => ({
env: { BACKEND_URL: 'http://localhost:8080' }
}));
vi.mock('$app/environment', () => ({ dev: false }));
const mockGet = vi.fn();
const mockPost = vi.fn();
vi.mock('$lib/server/api', () => ({