Skip to content

Commit

Permalink
Improve test case
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Apr 23, 2024
1 parent fb84f01 commit 69c76c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/addons/tests/AddOnListItem.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ test("AddOnListItem", () => {
const result = render(AddOnListItem, { addon });
expect(result.getByRole("heading")).toHaveTextContent(addon.name);
const premium = render(AddOnListItem, { addon: premiumAddon });
expect(premium.getByRole("status")).toBeInTheDocument();
expect(premium.getByRole("status")).toHaveTextContent("Premium");
});

0 comments on commit 69c76c3

Please sign in to comment.