mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 22:26:13 +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
@@ -33,8 +33,7 @@ vi.mock("@/lib/db-compat", () => ({
|
||||
}));
|
||||
|
||||
vi.mock("@/lib/logging/context", async (importOriginal) => {
|
||||
const actual =
|
||||
await importOriginal<typeof import("@/lib/logging/context")>();
|
||||
const actual = await importOriginal<typeof import("@/lib/logging/context")>();
|
||||
return { ...actual, annotate: vi.fn() };
|
||||
});
|
||||
|
||||
@@ -60,7 +59,12 @@ function req(query: string): NextRequest {
|
||||
return new NextRequest(`http://localhost/api/sleep/night?${query}`);
|
||||
}
|
||||
|
||||
function stage(iso: string, s: string, minutes: number, source = "APPLE_HEALTH") {
|
||||
function stage(
|
||||
iso: string,
|
||||
s: string,
|
||||
minutes: number,
|
||||
source = "APPLE_HEALTH",
|
||||
) {
|
||||
return {
|
||||
value: minutes,
|
||||
measuredAt: new Date(iso),
|
||||
|
||||
Reference in new issue
Block a user