18 lines
414 B
TypeScript
18 lines
414 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,
|
|
comment: '',
|
|
forward: false,
|
|
block: false,
|
|
rule_ids: [],
|
|
},
|
|
});
|
|
});
|
|
});
|