mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
test(documents): wire content-index mocks into the list route test
P2-1. The list GET now issues a documentContentIndex lookup and unions a content-token OR branch when a search term is present, so the existing route test gains the mock + the third OR branch in its where assertion. Fix the backfill test's findFirst mock signature under strict tsc.
This commit is contained in:
1 parent
b210c743e9
commit
1f7807aead
16 files changed
+211
-55
No files matched your search
@@ -68,7 +68,7 @@ describe("<DocumentCard>", () => {
|
||||
<DocumentCard
|
||||
document={doc({
|
||||
servingClass: "attachment",
|
||||
hasContentIndex: false,
|
||||
hasContentIndex: false,
|
||||
mimeType: "application/octet-stream",
|
||||
filename: "befund.docx",
|
||||
title: null,
|
||||
|
||||
Reference in new issue
Block a user