Skip to content

Commit

Permalink
fix queryByTestId to getByTestId
Browse files Browse the repository at this point in the history
  • Loading branch information
moekumasaka committed Sep 24, 2024
1 parent 955ffe8 commit 461ca6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('DescendantsPageListModal.tsx', () => {

it('should render CustomNavDropdown on devices smaller than lg', () => {
render(<DescendantsPageListModal />);
expect(screen.queryByTestId('custom-nav-dropdown')).not.toBeNull();
expect(screen.getByTestId('custom-nav-dropdown')).not.toBeNull();
});

it('should not render CustomNavTab', () => {
Expand Down

0 comments on commit 461ca6a

Please sign in to comment.