bigbuffet-rw/app/soapbox/reducers/__tests__/admin.test.ts

12 lines
332 B
TypeScript
Raw Normal View History

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