I think this shouldn't pass:

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

but it does.
static childContextTypes = {
        foo: PropTypes.string,
        depth: PropTypes.number,
      };
      getChildContext() {
        return {
          foo: 'bar',
          depth: 0,
        };
      }
      render() {
        return <Child />;
      }
    }
    class Child extends React.Component {
      static contextTypes = {
        foo: PropTypes.string,
        depth: PropTypes.number,
      };
      static childContextTypes = {
        depth: PropTypes.number,
      };
      getChildContext() {