From 38a69ee95029481c84122a355094af252a9a8f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 8 Oct 2026 21:31:59 +0200 Subject: [PATCH] test(sharing): count the MANAGE matrix without the life-event handlers Life events are owner-only, so their three MANAGE handlers leave the admitted inventory and the integration matrix's driver counts with it. --- tests/integration/sharing-manage-handler-matrix.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/sharing-manage-handler-matrix.test.ts b/tests/integration/sharing-manage-handler-matrix.test.ts index e936adecd..34583f305 100644 --- a/tests/integration/sharing-manage-handler-matrix.test.ts +++ b/tests/integration/sharing-manage-handler-matrix.test.ts @@ -282,7 +282,7 @@ const ROUTE_IMPORTS = import.meta.glob>( describe("the complete MANAGE handler matrix", () => { it("starts with a non-empty, exact handler inventory", () => { - expect(ADMITTED_MUTATING_HANDLERS.length).toBe(90); + expect(ADMITTED_MUTATING_HANDLERS.length).toBe(87); }); }); @@ -2846,13 +2846,13 @@ describe("the conditions the admissions were granted on", () => { describe("the complete MANAGE handler matrix", () => { it("registers one strict actor-and-effect driver for every admission", () => { const expected = ADMITTED_MUTATING_HANDLERS.map(matrixKey).sort(); - expect(STRICT_DRIVER_KEYS.size).toBe(90); + expect(STRICT_DRIVER_KEYS.size).toBe(87); expect([...STRICT_DRIVER_KEYS].sort()).toEqual(expected); }); it("executes every registered driver through its owned effect and actor audit", () => { const expected = ADMITTED_MUTATING_HANDLERS.map(matrixKey).sort(); - expect(REAL_EFFECT_KEYS.size).toBe(90); + expect(REAL_EFFECT_KEYS.size).toBe(87); expect([...REAL_EFFECT_KEYS].sort()).toEqual(expected); }); });