bigbuffet-rw/app/soapbox/reducers/__tests__/trends-test.js

12 lines
320 B
JavaScript
Raw Normal View History

2020-06-09 18:08:07 -07:00
import reducer from '../trends';
import { Map as ImmutableMap, List as ImmutableList } from 'immutable';
describe('trends reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {})).toEqual(ImmutableMap({
items: ImmutableList(),
isLoading: false,
}));
});
});