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

16 lines
391 B
JavaScript
Raw Normal View History

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