bigbuffet-rw/app/soapbox/reducers/__tests__/reports.test.ts
2023-03-23 15:17:44 -04:00

20 lines
459 B
TypeScript

import reducer from '../reports';
describe('reports reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {} as any).toJS()).toEqual({
new: {
isSubmitting: false,
account_id: null,
status_ids: [],
chat_message: null,
group: null,
entityType: '',
comment: '',
forward: false,
block: false,
rule_ids: [],
},
});
});
});