From e43096b98b71047bd295e9c7e71e67777b470e12 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Thu, 28 Sep 2023 14:51:11 -0400 Subject: [PATCH] MM-54349 Increase timeout for ConfirmModalRedux test (#24607) --- .../confirm_modal_redux/confirm_modal_redux.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/channels/src/components/confirm_modal_redux/confirm_modal_redux.test.tsx b/webapp/channels/src/components/confirm_modal_redux/confirm_modal_redux.test.tsx index 205b78b436..a3ea331563 100644 --- a/webapp/channels/src/components/confirm_modal_redux/confirm_modal_redux.test.tsx +++ b/webapp/channels/src/components/confirm_modal_redux/confirm_modal_redux.test.tsx @@ -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); });