From 3d572d97a32ad5fbbcca4a6a7bbef3032ab245d8 Mon Sep 17 00:00:00 2001 From: Molecule AI App-FE Date: Mon, 11 May 2026 12:15:29 +0000 Subject: [PATCH] fix(canvas/test): use string keys in TIER_CONFIG toHaveProperty calls (#440) Co-authored-by: Molecule AI App-FE Co-committed-by: Molecule AI App-FE --- canvas/src/lib/__tests__/statusDotClass.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/canvas/src/lib/__tests__/statusDotClass.test.ts b/canvas/src/lib/__tests__/statusDotClass.test.ts index fcf22f98..857d9b3e 100644 --- a/canvas/src/lib/__tests__/statusDotClass.test.ts +++ b/canvas/src/lib/__tests__/statusDotClass.test.ts @@ -55,10 +55,10 @@ describe("statusDotClass", () => { describe("TIER_CONFIG", () => { it("has entries for all four tier levels", () => { - expect(TIER_CONFIG).toHaveProperty(1); - expect(TIER_CONFIG).toHaveProperty(2); - expect(TIER_CONFIG).toHaveProperty(3); - expect(TIER_CONFIG).toHaveProperty(4); + expect(TIER_CONFIG).toHaveProperty("1"); + expect(TIER_CONFIG).toHaveProperty("2"); + expect(TIER_CONFIG).toHaveProperty("3"); + expect(TIER_CONFIG).toHaveProperty("4"); }); it("each tier has label, color, and border fields", () => {