mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
Use the consent surface the error type expects in the contract test
This commit is contained in:
1 parent
dceca62f8e
commit
b2908343c4
1 file changed
+1
-1
@@ -216,7 +216,7 @@ describe("contract (a): every runDocumentSummaryJob branch writes a terminal sta
|
||||
name: "consent refused",
|
||||
setup: () => {
|
||||
vi.mocked(assertDocumentEgressConsent).mockRejectedValue(
|
||||
new ConsentRequiredError("no consent"),
|
||||
new ConsentRequiredError("insights"),
|
||||
);
|
||||
},
|
||||
state: "UNAVAILABLE",
|
||||
|
||||
Reference in new issue
Block a user