From 1d3b2d0ebe2f46ff90cc57bec5f2b7d3b2407451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 9 Oct 2026 13:18:08 +0200 Subject: [PATCH] test(timeline): state the template-key guard's floor on what it found --- .../timeline/__tests__/no-template-key-guard.test.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/timeline/__tests__/no-template-key-guard.test.ts b/src/components/timeline/__tests__/no-template-key-guard.test.ts index f9661ba6e..7c460c90c 100644 --- a/src/components/timeline/__tests__/no-template-key-guard.test.ts +++ b/src/components/timeline/__tests__/no-template-key-guard.test.ts @@ -50,9 +50,11 @@ function templateCalls(): Map { describe("template message keys", () => { it("finds the one sanctioned call, so the matcher is live", () => { - expect( - templateCalls().get("src/components/timeline/readiness-inventory.tsx"), - ).toBe(1); + const calls = templateCalls(); + expect(calls.size).toBeGreaterThanOrEqual(1); + expect(calls.get("src/components/timeline/readiness-inventory.tsx")).toBe( + 1, + ); }); it("are not used in the timeline or the day view", () => {