bigbuffet-rw/app/soapbox/reducers/__tests__/group_editor.test.ts
2022-07-06 11:53:55 -05:00

16 lines
399 B
TypeScript

import { Map as ImmutableMap } from 'immutable';
import reducer from '../group_editor';
describe('group_editor reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {} as any)).toEqual(ImmutableMap({
groupId: null,
isSubmitting: false,
isChanged: false,
title: '',
description: '',
coverImage: null,
}));
});
});