mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
test(timeline): state the template-key guard's floor on what it found
This commit is contained in:
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", () => {
|
||||
|
||||
Reference in new issue
Block a user