Merge branch 'fix/v1439' into release/v1.43.9

This commit is contained in:
Marc-André Bombeck committed 2026-10-20 22:49:33 +02:00
commit b4618f2ec3
55 files changed
+1547 -270

No files matched your search

@@ -17,7 +17,8 @@ import { describe, it, expect, vi, beforeEach } from "vitest";
import { NextRequest } from "next/server";
vi.mock("@/lib/db", () => ({
prisma: {},
// The cached briefing text is read off its own row, not the session user.
prisma: { user: { findUnique: async () => null } },
}));
vi.mock("@/lib/auth/session", () => ({
getSession: vi.fn(),
@@ -71,7 +72,6 @@ const SESSION_OK = {
glucoseUnit: "mg/dL",
onboardingTourCompleted: true,
disableCoach: false,
insightsCachedText: null,
insightsCachedAt: null,
dashboardWidgetsJson: null,
},