diff --git a/packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx b/packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx index baeceeb4b..bda4036c9 100644 --- a/packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx +++ b/packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx @@ -1585,7 +1585,31 @@ describe('shallow', () => { expect(wrapper.find('.qoo').text()).to.equal('qux'); }); - it('works with a class component', () => { + it('throws with a class component', () => { + class InnerComp extends React.Component { + render() { + return