pleroma/app/soapbox/reducers/__tests__/mutes-test.js

15 lines
358 B
JavaScript
Raw Normal View History

2020-06-09 18:08:07 -07:00
import reducer from '../mutes';
import { Map as ImmutableMap } from 'immutable';
describe('mutes reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {})).toEqual(ImmutableMap({
new: ImmutableMap({
isSubmitting: false,
account: null,
notifications: true,
}),
}));
});
});