bigbuffet-rw/app/soapbox/reducers/__tests__/meta.test.ts
marcin mikołajczak 5fec879148 Fix mutes test, prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:30:48 +02:00

11 lines
333 B
TypeScript

import { Record as ImmutableRecord } from 'immutable';
import reducer from '../meta';
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);
});
});