Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsinulhaq committed Nov 19, 2023
1 parent 6e6639a commit b82c8b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/usePopperTooltip.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ test('delayShow option renders tooltip after specified delay', async () => {
expect(screen.queryByText(TooltipText)).not.toBeInTheDocument();

await vi.runAllTimersAsync();
screen.debug();
// It shows up sometime later. Here RTL uses fake timers to await as well, so
// it awaits for the element infinitely, advancing jest fake timer by 50ms
// in an endless loop. And this is why the test passes even if delayShow set
Expand Down

0 comments on commit b82c8b2

Please sign in to comment.