Skip to content

Commit

Permalink
MM-54349 Increase timeout for ConfirmModalRedux test (mattermost#24607)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmhealey authored Sep 28, 2023
1 parent 53a0f8d commit e43096b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -47,5 +47,5 @@ describe('ConfirmModalRedux', () => {
wrapper.find('#cancelModalButton').simulate('click');

expect(wrapper.find(Modal).prop('show')).toBe(false);
}, 1000);
}, 5000);
});

0 comments on commit e43096b

Please sign in to comment.