Skip to content

Commit

Permalink
test(badge): remove obselte test
Browse files Browse the repository at this point in the history
  • Loading branch information
clukhei committed Oct 28, 2024
1 parent a06d54f commit ba56678
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/badge.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<SgdsBadge>(html`<sgds-badge></sgds-badge>`);
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<SgdsBadge>(html`<sgds-badge show dismissible></sgds-badge>`);
await elementUpdated(el);
Expand Down

0 comments on commit ba56678

Please sign in to comment.