Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/components/src/tooltip/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ describe( 'Tooltip', () => {

describe( 'delay', () => {
it( 'should respect custom delay prop when showing tooltip', async () => {
const ADDITIONAL_DELAY = 100;
const ADDITIONAL_DELAY = 500;

render(
<Tooltip
Expand All @@ -304,7 +304,8 @@ describe( 'Tooltip', () => {
await hover( anchor );
expectTooltipToBeHidden();

// Advance time by default delay
// Advance time by default delay, which is still well before the
// custom delay even when CI is slow to resolve the hover event.
await sleep( TOOLTIP_DELAY );

// Tooltip hasn't appeared yet
Expand Down
Loading