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.
This commit is contained in:
Marc-André Bombeck committed 2026-10-20 05:33:21 +02:00
1 parent feb8058233
commit 5720b70e8e
1 file changed
+1 -2
@@ -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(