pleroma/app/soapbox/reducers/__tests__/search-test.js
marcin mikołajczak 403d6ae48c Search results improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:42:39 +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,
submittedValue: '',
hidden: false,
results: ImmutableMap(),
}));
});
});