bigbuffet-rw/app/soapbox/reducers/__tests__/conversations-test.js
2020-06-09 20:08:07 -05:00

13 lines
377 B
JavaScript

import reducer from '../conversations';
import { Map as ImmutableMap, List as ImmutableList } from 'immutable';
describe('conversations reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {})).toEqual(ImmutableMap({
items: ImmutableList(),
isLoading: false,
hasMore: true,
mounted: false,
}));
});
});