I think this shouldn't pass:

```js
    expect(() => {
      expect(() => {
        throw new Error('haha') // no warning
      }).toWarnDev(
        'nope',
      );
    }).toThrow('haha');
```

but it does.
constructor() {
          super();
        }
        render() {
          return <div>{this.props.text}</div>;
        }
      }
      const markup = ReactDOMServer.renderToString(
        <Component text="hello, world" />,
      );
      expect(markup).toContain('hello, world');
    });
    it('renders with context when using custom constructor', () => {
      class Component extends React.Component {
        constructor() {
          super();
        }
        render() {
          return <div>{this.context.text}</div>;
        }
      }
      Component.contextTypes = {
        text: PropTypes.string.isRequired,
      };
      class ContextProvider extends React.Component {