Skip to content

Commit

Permalink
Make test implementation match desc
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>
  • Loading branch information
getdave and ciampo authored Sep 21, 2023
1 parent 867f7b0 commit 1fd06ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/modal/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ describe( 'Modal', () => {
it( 'should focus the Modal dialog by default when `focusOnMount` prop is not provided', async () => {
const user = userEvent.setup();

render( <FocusMountDemo focusOnMount={ true } /> );
render( <FocusMountDemo /> );

const opener = screen.getByRole( 'button', {
name: 'Toggle Modal',
Expand Down

0 comments on commit 1fd06ed

Please sign in to comment.