Skip to content

Commit

Permalink
test: remove duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
chensara committed Apr 11, 2024
1 parent 3990d74 commit 1588d55
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,22 +216,6 @@ describe("Checkbox tests", () => {
});
});

describe("a11y", () => {
it("should add the label", () => {
const ariaLabel = "Lable Name";
const { getByLabelText } = render(<Checkbox label={ariaLabel} />);
const checkboxComponent = getByLabelText(ariaLabel);
expect(checkboxComponent).toBeTruthy();
});

it("should be the same text", () => {
const ariaLabel = "Lable Name";
const { getByText } = render(<Checkbox label={ariaLabel} />);
const checkboxComponentText = getByText(ariaLabel);
expect(checkboxComponentText).toBeTruthy();
});
});

describe("specific firefox checkbox tests", () => {
const {
formName,
Expand Down

0 comments on commit 1588d55

Please sign in to comment.