mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-18 16:12:11 +00:00
release: v1.32.0 — hardening and scalability (#580)
* release: prepare v1.32.0 * test: stabilize water capture re-entry
This commit is contained in:
1 parent
b01822be48
commit
62eb431d66
372 files changed
+25178
-8561
No files matched your search
@@ -151,6 +151,16 @@ describe("withings/callback atomic nonce consumption (M3)", () => {
|
||||
// Exactly one delete-attempt per leg — the atomic shape collapses
|
||||
// findUnique + delete into a single round-trip.
|
||||
expect(deleteMock).toHaveBeenCalledTimes(2);
|
||||
const upsert = vi.mocked(prisma.withingsConnection.upsert).mock
|
||||
.calls[0]![0];
|
||||
expect(upsert.update).toMatchObject({
|
||||
webhookSubscriptionState: Prisma.DbNull,
|
||||
webhookSubscriptionRetryAt: expect.any(Date),
|
||||
});
|
||||
expect(upsert.create).toMatchObject({
|
||||
webhookSubscriptionState: Prisma.DbNull,
|
||||
webhookSubscriptionRetryAt: expect.any(Date),
|
||||
});
|
||||
|
||||
// Exactly one leg landed on `withings=connected`, exactly one
|
||||
// landed on the replay branch (`withings=error&reason=replay`).
|
||||
|
||||
Reference in new issue
Block a user