mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
style(medications): prettier-format the per-slot consumption test
This commit is contained in:
1 parent
196b37fa78
commit
61e5c36d0a
1 file changed
+2
-5
@@ -114,13 +114,10 @@ function makeClient(state: FakeState) {
|
||||
),
|
||||
// #219 — the import-batch path loads each event's scheduledFor anchor.
|
||||
findMany: vi.fn(
|
||||
async (args: {
|
||||
where: { id: { in: string[] }; userId: string };
|
||||
}) =>
|
||||
async (args: { where: { id: { in: string[] }; userId: string } }) =>
|
||||
state.events.filter(
|
||||
(e) =>
|
||||
args.where.id.in.includes(e.id) &&
|
||||
e.userId === args.where.userId,
|
||||
args.where.id.in.includes(e.id) && e.userId === args.where.userId,
|
||||
),
|
||||
),
|
||||
// The hooks' atomic claim — evaluate the conditional WHERE the way
|
||||
|
||||
Reference in new issue
Block a user