Skip to content

Commit

Permalink
chore(tooltip): removed duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickonometry committed Feb 28, 2024
1 parent 3b92516 commit 4dad0b7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/lib/tooltip/tooltip.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,17 +434,6 @@ describe('Tooltip', () => {
expect(harness.isOpen).to.be.true;
});

it('should open when hovering the trigger button and a delay is set', async () => {
const harness = await createFixture({ triggerType: 'hover', delay: 500 });

expect(harness.isOpen).to.be.false;

await harness.hoverTrigger();
await timer(harness.tooltipElement.delay);

expect(harness.isOpen).to.be.true;
});

it('should open and close when hovering and unhovering the trigger button', async () => {
const harness = await createFixture({ triggerType: 'hover' });

Expand Down

0 comments on commit 4dad0b7

Please sign in to comment.