17 lines
379 B
JavaScript
17 lines
379 B
JavaScript
import reducer from '../reports';
|
|
|
|
describe('reports reducer', () => {
|
|
it('should return the initial state', () => {
|
|
expect(reducer(undefined, {}).toJS()).toEqual({
|
|
new: {
|
|
isSubmitting: false,
|
|
account_id: null,
|
|
status_ids: [],
|
|
comment: '',
|
|
forward: false,
|
|
block: false,
|
|
rule_ids: [],
|
|
},
|
|
});
|
|
});
|
|
});
|