pleroma/packages/pl-fe/src/reducers/suggestions.test.ts

12 lines
262 B
TypeScript
Raw Normal View History

import reducer from './suggestions';
describe('suggestions reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {} as any).toJS()).toEqual({
items: [],
next: null,
isLoading: false,
});
});
});