mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-15 06:52:04 +00:00
style(medications): prettier sweep on the W3 intake-history fix
Run prettier --write on the four files the v1.4.37 W3 commits touched (the schema, the route, the V2 component, and the two test files). Drive-by also collapses two pre-existing whitespace drifts in the InventoryItem type aliases and the glp1PostBodySchema refine call so the file matches the formatter contract end-to-end. No behavioural change.
This commit is contained in:
1 parent
04aa2fc8b9
commit
f33c70b3a2
6 files changed
+74
-55
No files matched your search
@@ -134,10 +134,7 @@ describe("GET /api/medications/[id]/intake — status filter", () => {
|
||||
expect(where).toEqual({
|
||||
medicationId: "med-1",
|
||||
userId: "user-1",
|
||||
OR: [
|
||||
{ takenAt: { not: null }, skipped: false },
|
||||
{ skipped: true },
|
||||
],
|
||||
OR: [{ takenAt: { not: null }, skipped: false }, { skipped: true }],
|
||||
});
|
||||
});
|
||||
|
||||
@@ -154,10 +151,7 @@ describe("GET /api/medications/[id]/intake — status filter", () => {
|
||||
expect(countArgs?.where).toEqual({
|
||||
medicationId: "med-1",
|
||||
userId: "user-1",
|
||||
OR: [
|
||||
{ takenAt: { not: null }, skipped: false },
|
||||
{ skipped: true },
|
||||
],
|
||||
OR: [{ takenAt: { not: null }, skipped: false }, { skipped: true }],
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user