diff --git a/src/components/AllAppsLetterIndex.test.tsx b/src/components/AllAppsLetterIndex.test.tsx index ca01ef6..e6074f9 100644 --- a/src/components/AllAppsLetterIndex.test.tsx +++ b/src/components/AllAppsLetterIndex.test.tsx @@ -21,6 +21,7 @@ describe(' Tests', () => { ...initialStoreState, appsList: { list: [getAppForTestsByName('Chrome')!], + loading: false, }, } @@ -44,6 +45,7 @@ describe(' Tests', () => { ...initialStoreState, appsList: { list: [getAppForTestsByName('Chrome')!, getAppForTestsByName('Maps')!], + loading: false, }, } diff --git a/src/components/Search.test.tsx b/src/components/Search.test.tsx index fc88d16..90d568e 100644 --- a/src/components/Search.test.tsx +++ b/src/components/Search.test.tsx @@ -70,6 +70,7 @@ describe(' Tests', () => { ...initialStoreState, appsList: { list: [chromeAppDetails, getAppForTestsByName('Maps')!], + loading: false, }, appState: { ...initialStoreState.appState, @@ -110,6 +111,7 @@ describe(' Tests', () => { ...initialStoreState, appsList: { list: [getAppForTestsByName('Chrome')!], + loading: false, }, appState: { ...initialStoreState.appState, diff --git a/utils/test/data.ts b/utils/test/data.ts index 9a4c8d7..bca79ba 100644 --- a/utils/test/data.ts +++ b/utils/test/data.ts @@ -7,6 +7,7 @@ export const APP_ID = 'com.razinj.context_launcher' export const initialStoreState: RootState = { appsList: { list: [], + loading: false, }, favoriteApps: { list: [],