mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 13:22:14 +00:00
Expect the fenced label on the real-DB preventive-care read
The integration twin of the tool test still asserted the raw reminder label; the tool now fences it like the appointment reason beside it.
This commit is contained in:
1 parent
8ee123d06b
commit
9e555b7fd2
1 file changed
+3
-1
@@ -215,7 +215,9 @@ describe("get_preventive_care — real DB", () => {
|
||||
expect(result.present).toBe(true);
|
||||
expect(result.checkups).toHaveLength(1);
|
||||
expect(result.checkups[0]).toMatchObject({
|
||||
label: "Blood pressure check",
|
||||
// The label is the user's own free text and rides the USER_TEXT fence
|
||||
// like the appointment reason beside it.
|
||||
label: "<<<USER_TEXT_START>>>Blood pressure check<<<USER_TEXT_END>>>",
|
||||
overdue: true,
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user