diff --git a/store/ui/__snapshots__/getters.test.ts.snap b/store/ui/__snapshots__/getters.test.ts.snap index 42c96b21e7..d3d6e9c87c 100644 --- a/store/ui/__snapshots__/getters.test.ts.snap +++ b/store/ui/__snapshots__/getters.test.ts.snap @@ -1,5 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`init should return the isLoadingFileIndex property of the initial state 1`] = `false`; + 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 259e84e028..5856dafb81 100644 --- a/store/ui/getters.test.ts +++ b/store/ui/getters.test.ts @@ -9,6 +9,12 @@ describe('init', () => { inst = getters.default }) + it('should return the isLoadingFileIndex property of the initial state', () => { + const result: any = inst.getFilesIndexLoading(InitialUIState()) + expect(result).toBeFalsy() + expect(result).toMatchSnapshot() + }) + it('should return the showSidebar property of the initial state', () => { const result: any = inst.showSidebar(InitialUIState()) expect(result).toBeTruthy()