2022-01-10 22:01:24 +00:00
|
|
|
import reducer from '../reports';
|
2020-06-10 01:08:07 +00:00
|
|
|
|
|
|
|
describe('reports reducer', () => {
|
|
|
|
it('should return the initial state', () => {
|
2022-06-12 14:30:48 +00:00
|
|
|
expect(reducer(undefined, {} as any).toJS()).toEqual({
|
2022-06-07 16:25:53 +00:00
|
|
|
new: {
|
2020-06-10 01:08:07 +00:00
|
|
|
isSubmitting: false,
|
|
|
|
account_id: null,
|
2022-06-07 16:25:53 +00:00
|
|
|
status_ids: [],
|
2022-10-17 16:24:24 +00:00
|
|
|
chat_message: null,
|
2023-03-22 17:56:32 +00:00
|
|
|
group: null,
|
|
|
|
entityType: '',
|
2020-06-10 01:08:07 +00:00
|
|
|
comment: '',
|
|
|
|
forward: false,
|
|
|
|
block: false,
|
2022-06-07 16:25:53 +00:00
|
|
|
rule_ids: [],
|
|
|
|
},
|
|
|
|
});
|
2020-06-10 01:08:07 +00:00
|
|
|
});
|
|
|
|
});
|