Skip to content

Commit

Permalink
ESLint: Fix testing-library/prefer-presence-queries violations (#45061)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla authored Oct 18, 2022
1 parent aca2438 commit f2729bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/viewport/src/test/if-viewport-matches.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ describe( 'ifViewportMatches()', () => {

expect( useViewportMatch ).toHaveBeenCalledWith( 'wide', '>=' );

expect( screen.queryByText( 'Hello' ) ).toBeInTheDocument();
expect( screen.getByText( 'Hello' ) ).toBeInTheDocument();
} );
} );

0 comments on commit f2729bf

Please sign in to comment.