From 3162228bde5721529dfbe4688140b3e47301829b Mon Sep 17 00:00:00 2001 From: atomiks Date: Mon, 23 Dec 2024 17:36:15 +1100 Subject: [PATCH] Remove test --- .../popover/trigger/PopoverTrigger.test.tsx | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/packages/react/src/popover/trigger/PopoverTrigger.test.tsx b/packages/react/src/popover/trigger/PopoverTrigger.test.tsx index 7620707b18..7b5d0e4bfd 100644 --- a/packages/react/src/popover/trigger/PopoverTrigger.test.tsx +++ b/packages/react/src/popover/trigger/PopoverTrigger.test.tsx @@ -126,29 +126,6 @@ describe('', () => { expect(trigger).not.to.have.attribute('data-popup-open'); }); - it('sticks if the user clicks impatiently', async () => { - await renderFakeTimers( - - - , - ); - - const trigger = screen.getByRole('button'); - - fireEvent.mouseEnter(trigger); - - clock.tick(PATIENT_CLICK_THRESHOLD - 1); - - fireEvent.click(trigger); - fireEvent.mouseLeave(trigger); - - expect(trigger).to.have.attribute('data-popup-open'); - - clock.tick(1); - - expect(trigger).to.have.attribute('data-popup-open'); - }); - it('does not stick if the user clicks patiently', async () => { await renderFakeTimers(