From 5720b70e8e4f4b710fce76528061b255d4202ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Tue, 20 Oct 2026 05:33:21 +0200 Subject: [PATCH] test(guards): drop the removed chip ledger from the course-anchor builders The cadence chips no longer build a recurrence context of their own; they tally the compliance ledger, whose adapter is already on the list. --- src/__tests__/recurrence-course-anchor-guard.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/__tests__/recurrence-course-anchor-guard.test.ts b/src/__tests__/recurrence-course-anchor-guard.test.ts index b6c5c1e69..d41f7bb95 100644 --- a/src/__tests__/recurrence-course-anchor-guard.test.ts +++ b/src/__tests__/recurrence-course-anchor-guard.test.ts @@ -31,7 +31,6 @@ const ROOT = resolve(SRC, ".."); const MEDICATION_BUILDERS = [ "src/lib/analytics/compliance/adapters.ts", "src/lib/medications/scheduling/cadence.ts", - "src/lib/medications/scheduling/compliance.ts", "src/lib/medications/scheduling/worker-helpers.ts", ]; @@ -91,7 +90,7 @@ function builders(): Builder[] { describe("the rolling course anchor is opt-in", () => { it("finds the builders it judges (no vacuous pass)", () => { const found = builders(); - expect(found.length).toBeGreaterThanOrEqual(6); + expect(found.length).toBeGreaterThanOrEqual(5); // The matcher sees an annotated literal and a typed return. expect([ ...`const c: RecurrenceContext = { a: 1 };\nfunction f(): RecurrenceContext {\n return {};\n}`.matchAll(