Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add box plot jest/rtl tests #2225

Merged
merged 3 commits into from
May 10, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
apply formatting changes
  • Loading branch information
heythisispaul committed May 10, 2022
commit 2a53ad0abfb6ba93cde61e83f506c838e2b5d442
8 changes: 6 additions & 2 deletions test/jest/victory-box-plot/victory-box.plot.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ describe("components/victory-box-plot", () => {
.forEach((label, index) => {
const [labeledWhisker] = screen.getAllByLabelText(label);
expect(labeledWhisker).toBeDefined();
expect(labeledWhisker.getAttribute("tabindex")).toEqual(`${index + 1}`);
expect(labeledWhisker.getAttribute("tabindex")).toEqual(
`${index + 1}`
);
});
});

Expand All @@ -145,7 +147,9 @@ describe("components/victory-box-plot", () => {
.forEach((label, index) => {
const labeledBorder = screen.getByLabelText(label);
expect(labeledBorder).toBeDefined();
expect(labeledBorder.getAttribute("tabindex")).toEqual(`${index + 1}`);
expect(labeledBorder.getAttribute("tabindex")).toEqual(
`${index + 1}`
);
});
});

Expand Down