mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +00:00
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:
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() },
|
||||
},
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user