Skip to content

Commit

Permalink
test: Fix act errors in ControlPanelsContainer test (#21398)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndsiWilliams authored Sep 9, 2022
1 parent ac114ca commit 714196e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,12 @@ describe('ControlPanelsContainer', () => {
} as ControlPanelsContainerProps;
}

it('renders ControlPanelSections', () => {
render(<ControlPanelsContainer {...getDefaultProps()} />);
test('renders ControlPanelSections', async () => {
render(<ControlPanelsContainer {...getDefaultProps()} />, {
useRedux: true,
});
expect(
screen.getAllByTestId('collapsible-control-panel-header'),
await screen.findAllByTestId('collapsible-control-panel-header'),
).toHaveLength(4);
});
});

0 comments on commit 714196e

Please sign in to comment.