test(timeline): state the template-key guard's floor on what it found

This commit is contained in:
Marc-André Bombeck committed 2026-10-09 13:18:08 +02:00
1 parent 78aa80b2ea
commit 1d3b2d0ebe
1 file changed
+5 -3
@@ -50,9 +50,11 @@ function templateCalls(): Map<string, number> {
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", () => {