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

12 lines
333 B
JavaScript
Raw Normal View History

import { Record as ImmutableRecord } from 'immutable';
2022-01-10 14:01:24 -08:00
import reducer from '../meta';
2020-06-09 18:08:07 -07:00
describe('meta reducer', () => {
it('should return the initial state', () => {
const result = reducer(undefined, {});
expect(ImmutableRecord.isRecord(result)).toBe(true);
expect(result.instance_fetch_failed).toBe(false);
2020-06-09 18:08:07 -07:00
});
});