mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
test(medications): assert bounded replay details
This commit is contained in:
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({
|
||||
|
||||
Reference in new issue
Block a user