From 0ceb82474fc049e3a1e5896783c53ff0975da5e2 Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Fri, 16 Oct 2020 18:49:06 +0000 Subject: [PATCH] fix overview test --- frontend/src/Photos/tests/Overview.test.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/Photos/tests/Overview.test.tsx b/frontend/src/Photos/tests/Overview.test.tsx index 8843f5f..325c62d 100644 --- a/frontend/src/Photos/tests/Overview.test.tsx +++ b/frontend/src/Photos/tests/Overview.test.tsx @@ -10,8 +10,9 @@ afterEach(() => { const fetchPhotosFn = jest.fn(); const overviewComponentDefaultProps: IOverviewComponentProps = { - photos: null, - overviewLoaded: false, + photos: [], + allPhotosLoaded: false, + triedLoading: false, overviewFetching: false, overviewFetchingError: null, overviewFetchingSpinner: false,