bigbuffet-rw/app/soapbox/reducers/__tests__/search-test.js
marcin mikołajczak f8dcafae98 update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-02 21:10:41 +02:00

14 lines
362 B
JavaScript

import reducer from '../search';
import { Map as ImmutableMap } from 'immutable';
describe('search reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {})).toEqual(ImmutableMap({
value: '',
submitted: false,
hidden: false,
results: ImmutableMap(),
filter: 'accounts',
}));
});
});