test(whoop): assert the per-resource failure carries its leg

This commit is contained in:
Marc-André Bombeck committed 2026-07-26 14:19:13 +02:00
1 parent 4e3b029c38
commit e0ae866f32
1 file changed
+3
@@ -147,6 +147,9 @@ describe("runWhoopResourceSync — WH-4 write-path ledger honesty", () => {
expect(recordWhoopSyncFailureMock).toHaveBeenCalledWith(
"u1",
expect.objectContaining({ message: "write failed" }),
// Attributed to the leg it came from, so the recovery leg's success at
// :05 cannot clear it.
"workout",
);
});