mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-15 15:02:04 +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
@@ -11,10 +11,7 @@ import { describe, expect, it, vi } from "vitest";
|
||||
import { renderToStaticMarkup } from "react-dom/server";
|
||||
|
||||
import { I18nProvider } from "@/lib/i18n/context";
|
||||
import {
|
||||
AnamnesisCard,
|
||||
buildAnamnesisAboutMeBody,
|
||||
} from "../anamnesis-card";
|
||||
import { AnamnesisCard, buildAnamnesisAboutMeBody } from "../anamnesis-card";
|
||||
|
||||
describe("buildAnamnesisAboutMeBody", () => {
|
||||
const empty = { conditions: "", allergies: "" };
|
||||
|
||||
@@ -32,8 +32,9 @@ describe("shouldAutoLaunchTour() — v1.4.47 W5 chain-gate", () => {
|
||||
expect(
|
||||
shouldAutoLaunchTour({
|
||||
onboardingTourCompleted: true,
|
||||
onboardingCompletedAt: new Date(NOW - 365 * 24 * ONE_HOUR_MS)
|
||||
.toISOString(),
|
||||
onboardingCompletedAt: new Date(
|
||||
NOW - 365 * 24 * ONE_HOUR_MS,
|
||||
).toISOString(),
|
||||
nowMs: NOW,
|
||||
}),
|
||||
).toBe(false);
|
||||
@@ -143,8 +144,6 @@ describe("tourIncludesAchievements() — v1.18.0 B5 module gate", () => {
|
||||
});
|
||||
|
||||
it("ignores other disabled modules — only the achievements key matters", () => {
|
||||
expect(
|
||||
tourIncludesAchievements({ sleep: false, mood: false }),
|
||||
).toBe(true);
|
||||
expect(tourIncludesAchievements({ sleep: false, mood: false })).toBe(true);
|
||||
});
|
||||
});
|
||||
@@ -17,10 +17,7 @@
|
||||
* in-app tour re-entry trigger.
|
||||
*/
|
||||
import { describe, expect, it } from "vitest";
|
||||
import {
|
||||
tourReferrerKey,
|
||||
tourSessionDismissedKey,
|
||||
} from "../tour-launcher";
|
||||
import { tourReferrerKey, tourSessionDismissedKey } from "../tour-launcher";
|
||||
|
||||
describe("tour-launcher sessionStorage key scoping", () => {
|
||||
it("scopes the dismiss key by user id", () => {
|
||||
|
||||
Reference in new issue
Block a user