bigbuffet-rw/app/soapbox/reducers/__tests__/reports.test.ts
marcin mikołajczak 5fec879148 Fix mutes test, prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:30:48 +02:00

17 lines
386 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: [],
comment: '',
forward: false,
block: false,
rule_ids: [],
},
});
});
});