test(medications): assert bounded replay details

This commit is contained in:
Marc-André Bombeck committed 2026-07-29 16:43:22 +02:00
1 parent 92218ccc00
commit ee2c93a67b
1 file changed
+5
@@ -162,6 +162,11 @@ describe("medication intake import — the reported 28-dose export", () => {
imported: 0,
skipped: 28,
skipReasons: [{ reason: "already_recorded", count: 28 }],
skipDetails: Array.from({ length: 28 }, (_, index) => ({
line: index + 1,
reason: "already_recorded",
})),
skippedDetailsOmitted: 0,
});
await expect(
prisma.medicationIntakeEvent.count({