pleroma/src/reducers/__tests__/reports.test.ts
2023-09-18 16:08:54 -05: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: [],
},
});
});
});