mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 22:50:51 +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
@@ -16,10 +16,11 @@ vi.mock("@/hooks/use-auth", () => ({
|
||||
useAuth: () => ({ isAuthenticated: true, user: mockUser }),
|
||||
}));
|
||||
|
||||
const useAchievementsQuery =
|
||||
vi.fn<(opts?: { enabled?: boolean }) => { data: undefined }>(() => ({
|
||||
data: undefined,
|
||||
}));
|
||||
const useAchievementsQuery = vi.fn<
|
||||
(opts?: { enabled?: boolean }) => { data: undefined }
|
||||
>(() => ({
|
||||
data: undefined,
|
||||
}));
|
||||
|
||||
vi.mock("@/lib/queries/use-achievements-query", () => ({
|
||||
useAchievementsQuery: (opts?: { enabled?: boolean }) =>
|
||||
|
||||
@@ -142,7 +142,11 @@ describe("<RecentAchievementsCard> — achievements module gate", () => {
|
||||
mockData = {
|
||||
summary: {},
|
||||
achievements: [
|
||||
{ ...baseAchievement, id: "a", completedAt: "2026-04-15T12:00:00.000Z" },
|
||||
{
|
||||
...baseAchievement,
|
||||
id: "a",
|
||||
completedAt: "2026-04-15T12:00:00.000Z",
|
||||
},
|
||||
],
|
||||
metrics: {},
|
||||
};
|
||||
@@ -154,7 +158,11 @@ describe("<RecentAchievementsCard> — achievements module gate", () => {
|
||||
mockData = {
|
||||
summary: {},
|
||||
achievements: [
|
||||
{ ...baseAchievement, id: "a", completedAt: "2026-04-15T12:00:00.000Z" },
|
||||
{
|
||||
...baseAchievement,
|
||||
id: "a",
|
||||
completedAt: "2026-04-15T12:00:00.000Z",
|
||||
},
|
||||
],
|
||||
metrics: {},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user