mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 14:16:12 +00:00
style: apply prettier across the tree
One-shot prettier pass so the new format:check gate starts from a clean baseline. Formatting only — no behaviour change. Generator-owned and vendored artifacts stay untouched via .prettierignore.
This commit is contained in:
1 parent
b3fea2ef59
commit
1f4ba5939d
1000 files changed
+12130
-8385
No files matched your search
@@ -388,7 +388,9 @@ describe("recordSyncFailure — persistent (v1.4.42 W6)", () => {
|
||||
expect(dispatchNotification).toHaveBeenCalledOnce();
|
||||
const payload = vi.mocked(dispatchNotification).mock.calls[0][0];
|
||||
expect(payload.message).toContain("persistent error");
|
||||
expect(payload.message).toContain("Action: investigate the upstream contract");
|
||||
expect(payload.message).toContain(
|
||||
"Action: investigate the upstream contract",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -754,7 +756,11 @@ describe("v1.4.47 W1 — down-script restores legacy consecutiveFailures via Mat
|
||||
* single source of truth for the recipe.
|
||||
*/
|
||||
function projectLegacyCounter(
|
||||
buckets: { transient: number; reauth_required: number; persistent: number } | null,
|
||||
buckets: {
|
||||
transient: number;
|
||||
reauth_required: number;
|
||||
persistent: number;
|
||||
} | null,
|
||||
): number {
|
||||
if (!buckets) return 0;
|
||||
return Math.max(
|
||||
|
||||
Reference in new issue
Block a user