Skip to content

Commit c859be1

Browse files
committed
fix: remove redundant test
1 parent 53cc74e commit c859be1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/__tests__/render.test.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ describe('render()', () => {
1313
mount(<Parent>foobar</Parent>);
1414
});
1515

16-
it('crashes when nothing to render', () => {
17-
expect(() => {
18-
mount(<Parent/>);
19-
}).toThrow();
20-
});
21-
2216
it('supports render prop interface', () => {
2317
const wrapper = mount(<Parent render={(state) => {
2418
expect(state).toEqual({foo: 'bar'});

0 commit comments

Comments
 (0)