Files
ncd-fe/packages/pl-fe/src/reducers/admin.test.ts
marcin mikołajczak 4d5690d0c1 Switch to workspace
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-28 13:01:08 +02:00

12 lines
331 B
TypeScript

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