From 61e5c36d0aad351d3786d88d13847d5aebb78c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Mon, 10 Aug 2026 08:22:42 +0200 Subject: [PATCH] style(medications): prettier-format the per-slot consumption test --- .../medications/inventory/__tests__/consumption.test.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib/medications/inventory/__tests__/consumption.test.ts b/src/lib/medications/inventory/__tests__/consumption.test.ts index bf31aff0d..d83348f1f 100644 --- a/src/lib/medications/inventory/__tests__/consumption.test.ts +++ b/src/lib/medications/inventory/__tests__/consumption.test.ts @@ -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