Skip to content

Commit

Permalink
[test] Increase timeout for test that sometimes fail on DateTimeRange…
Browse files Browse the repository at this point in the history
…Picker (#12786)
  • Loading branch information
LukasTy committed Apr 17, 2024
1 parent f047a84 commit 55870b4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ export const testPickerOpenCloseLifeCycle: DescribeValueTestSuite<any, 'picker'>
expect(onClose.callCount).to.equal(1);
});

it('should not call onClose or onAccept when selecting a date and `props.closeOnSelect` is false', () => {
it('should not call onClose or onAccept when selecting a date and `props.closeOnSelect` is false', function test() {
// increase the timeout of this test as it tends to sometimes fail on CI with `DesktopDateTimeRangePicker` or `MobileDateTimeRangePicker`
this.timeout(10000);
const onChange = spy();
const onAccept = spy();
const onClose = spy();
Expand Down

0 comments on commit 55870b4

Please sign in to comment.