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