MM-54349 Increase timeout for ConfirmModalRedux test (#24607)

This commit is contained in:
Harrison Healey 2023-09-28 14:51:11 -04:00 committed by GitHub
parent 53a0f8da27
commit e43096b98b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ describe('ConfirmModalRedux', () => {
wrapper.find('#confirmModalButton').simulate('click');
expect(wrapper.find(Modal).prop('show')).toBe(false);
}, 1000);
}, 5000);
test('should call onExited after cancelling', (done) => {
baseProps.onExited.mockImplementation(() => done());
@ -47,5 +47,5 @@ describe('ConfirmModalRedux', () => {
wrapper.find('#cancelModalButton').simulate('click');
expect(wrapper.find(Modal).prop('show')).toBe(false);
}, 1000);
}, 5000);
});