mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +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
@@ -118,7 +118,9 @@ describe("recordInviteConsumer", () => {
|
||||
|
||||
it("swallows failures — the use is already counted", async () => {
|
||||
transaction.mockRejectedValueOnce(new Error("boom"));
|
||||
await expect(recordInviteConsumer("inv1", "user1")).resolves.toBeUndefined();
|
||||
await expect(
|
||||
recordInviteConsumer("inv1", "user1"),
|
||||
).resolves.toBeUndefined();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -127,7 +127,10 @@ describe("isCookielessNativeCaller (M-3 refresh-token issuance gate)", () => {
|
||||
it("true for a native caller whose cookie header lacks the session cookie", () => {
|
||||
expect(
|
||||
isCookielessNativeCaller(
|
||||
h({ "x-client-type": "native", cookie: "other=1; hl_onboarding=pending" }),
|
||||
h({
|
||||
"x-client-type": "native",
|
||||
cookie: "other=1; hl_onboarding=pending",
|
||||
}),
|
||||
),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
@@ -185,4 +185,3 @@ export async function destroyAllSessions(userId: string): Promise<void> {
|
||||
}),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user