mirror of
https://github.com/mattermost/mattermost.git
synced 2026-10-30 22:55:29 +08:00
MM-54349 Increase timeout for ConfirmModalRedux test (#24607)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user