From ba566784d2bf3770414fc7346bbde27633394632 Mon Sep 17 00:00:00 2001 From: Lu Khei Chong Date: Mon, 28 Oct 2024 22:36:10 +0800 Subject: [PATCH] test(badge): remove obselte test --- test/badge.test.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/badge.test.ts b/test/badge.test.ts index 286e290c..55fce88a 100644 --- a/test/badge.test.ts +++ b/test/badge.test.ts @@ -9,12 +9,6 @@ describe("SgdsBadge component", () => { await elementUpdated(el); expect(el.shadowRoot?.querySelector(".badge")).to.exist; }); - - it("should not render when show is false by default", async () => { - const el = await fixture(html``); - await elementUpdated(el); - expect(el.shadowRoot?.querySelector(".badge")).to.not.exist; - }); it("should render a close button when dismissible is true", async () => { const el = await fixture(html``); await elementUpdated(el);