bigbuffet-rw/app/soapbox/reducers/__tests__/status-lists.test.ts
marcin mikołajczak 7c1726c665 update test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-27 23:52:12 +01:00

44 lines
909 B
TypeScript

import reducer from '../status-lists';
describe('status_lists reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {} as any).toJS()).toEqual({
favourites: {
next: null,
loaded: false,
isLoading: null,
items: [],
},
bookmarks: {
next: null,
loaded: false,
isLoading: null,
items: [],
},
pins: {
next: null,
loaded: false,
isLoading: null,
items: [],
},
scheduled_statuses: {
next: null,
loaded: false,
isLoading: null,
items: [],
},
joined_events: {
next: null,
loaded: false,
isLoading: null,
items: [],
},
recent_events: {
next: null,
loaded: false,
isLoading: null,
items: [],
},
});
});
});