Skip to content

Commit bae10cc

Browse files
committed
test: stabilise the Tooltip pressOut timing
1 parent cacf9ad commit bae10cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/components/__tests__/Tooltip.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ describe('Tooltip', () => {
163163
it('hides the tooltip when the user stop pressing the component', async () => {
164164
const {
165165
wrapper: { queryByText, getByText, findByText },
166-
} = await setup({ enterTouchDelay: 50, leaveTouchDelay: 0 });
166+
} = await setup({ enterTouchDelay: 50, leaveTouchDelay: 100 });
167167

168168
await userEvent.longPress(getTrigger(getByText));
169169

0 commit comments

Comments
 (0)