Skip to content

Commit

Permalink
test(Popover): remove redundant test (#1584)
Browse files Browse the repository at this point in the history
  • Loading branch information
booc0mtaco authored Apr 6, 2023
1 parent 13468d0 commit 7291c6a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/components/Popover/Popover.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ describe('<Popover />', () => {
},
});

it('should open Popover with trigger button', async () => {
const user = userEvent.setup();
render(<Default />);
expect(screen.queryByTestId('popover-content')).not.toBeInTheDocument();
const triggerButton = screen.getByTestId('popover-trigger-button');
await user.click(triggerButton);
expect(screen.getByTestId('popover-content')).toBeInTheDocument();
});

it('should close Popover via escape key', async () => {
const user = userEvent.setup();
render(<Default />);
Expand Down

0 comments on commit 7291c6a

Please sign in to comment.