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", () => {