From b2908343c48d9accdeeac3d8d0c96bd88758d51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 13 Aug 2026 12:43:27 +0200 Subject: [PATCH] Use the consent surface the error type expects in the contract test --- src/lib/jobs/__tests__/async-state-contract.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/jobs/__tests__/async-state-contract.test.ts b/src/lib/jobs/__tests__/async-state-contract.test.ts index 00a2443f5..4aa5fdf3f 100644 --- a/src/lib/jobs/__tests__/async-state-contract.test.ts +++ b/src/lib/jobs/__tests__/async-state-contract.test.ts @@ -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",