mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
test(whoop): assert the per-resource failure carries its leg
This commit is contained in:
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",
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user