diff --git a/store/ui/__snapshots__/getters.test.ts.snap b/store/ui/__snapshots__/getters.test.ts.snap index b14d9dd3cd..88fd882333 100644 --- a/store/ui/__snapshots__/getters.test.ts.snap +++ b/store/ui/__snapshots__/getters.test.ts.snap @@ -31,6 +31,8 @@ Array [ ] `; +exports[`init should return the isFilesIndexLoading property of the initial state 1`] = `true`; + exports[`init should return the showSidebar property of the initial state 1`] = `true`; exports[`init should return the swiperSlideIndex property of the initial state 1`] = `0`; diff --git a/store/ui/getters.test.ts b/store/ui/getters.test.ts index adaca6cf49..76b83bcf2d 100644 --- a/store/ui/getters.test.ts +++ b/store/ui/getters.test.ts @@ -10,9 +10,9 @@ describe('init', () => { }) it('should return the isFilesIndexLoading property of the initial state', () => { - // const result: any = inst.isFilesIndexLoading(InitialUIState()) - // expect(result).toBeFalsy() - // expect(result).toMatchSnapshot() + const result: any = inst.isFilesIndexLoading(InitialUIState(), {}, {}, []) + expect(result).toBeTruthy() + expect(result).toMatchSnapshot() }) it('should return the showSidebar property of the initial state', () => {