Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion js/components/accordion/__test__/AccordionHeader.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe("AccordionHeader", () => {
beforeEach(async () => {
await render(
<AccordionHeader>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why this test was passing as originally written but it shouldn't have been. Apparently, one of these dependency updates fixed a bug that was wrongly allowing this test to pass.

<button aria-expanded="false">child button</button>
<button>child button</button>
</AccordionHeader>,
);
await waitFor(() => screen.getByRole("heading"));
Expand Down
Loading
Loading