Settle the suite-wide fallout of the wave

The evaluator stubs hoist properly for vitest's factory rewrite, the
WHOOP webhook route test's prisma double learns the pre-image read the
delete branch now performs, and the connector-token card description
shrinks to the one-sentence, 120-character shape the card guard
enforces — still saying what the mint truthfully does.
This commit is contained in:
Marc-André Bombeck committed 2026-08-14 02:40:53 +02:00
1 parent 2b3a67d43c
commit 8ee123d06b
9 files changed
+20 -13

No files matched your search

@@ -11,7 +11,10 @@ vi.mock("@/lib/api-handler", () => ({
vi.mock("@/lib/db", () => ({
prisma: {
whoopConnection: { findUnique: vi.fn() },
measurement: { updateMany: vi.fn() },
measurement: {
updateMany: vi.fn(),
findMany: vi.fn(async () => []),
},
workout: { deleteMany: vi.fn() },
},
}));