bigbuffet-rw/app/soapbox/reducers/__tests__/trends-test.js
2022-05-14 14:13:58 -05:00

12 lines
372 B
JavaScript

import { Record as ImmutableRecord } from 'immutable';
import reducer from '../trends';
describe('trends reducer', () => {
it('should return the initial state', () => {
const result = reducer(undefined, {});
expect(ImmutableRecord.isRecord(result)).toBe(true);
expect(result.items.isEmpty()).toBe(true);
expect(result.isLoading).toBe(false);
});
});