diff --git a/app/soapbox/reducers/__tests__/carousels.test.ts b/app/soapbox/reducers/__tests__/carousels.test.ts index 40b8f928a..45e87c8ff 100644 --- a/app/soapbox/reducers/__tests__/carousels.test.ts +++ b/app/soapbox/reducers/__tests__/carousels.test.ts @@ -12,6 +12,7 @@ describe('carousels reducer', () => { it('should return the initial state', () => { expect(reducer(undefined, {} as AnyAction)).toEqual({ avatars: [], + error: false, isLoading: false, }); }); @@ -26,7 +27,7 @@ describe('carousels reducer', () => { describe('CAROUSEL_AVATAR_SUCCESS', () => { it('sets the next state', () => { - const initialState = { isLoading: true, avatars: [] }; + const initialState = { isLoading: true, avatars: [], error: false }; const action = { type: CAROUSEL_AVATAR_SUCCESS, payload: [45] }; const result = reducer(initialState, action);