I think this shouldn't pass:

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

but it does.
state = {value: 0};
      getChildContext() {
        if (this.state.value === 0) {
          this.setState({value: 1});
        }
      }
      render() {
        renderPasses++;
        return <div />;
      }
    }
    Component.childContextTypes = {};
    let instance;
    expect(() => {
      instance = ReactDOM.render(<Component />, container);
    }).toWarnDev(
      'Warning: setState(...): Cannot call setState() inside getChildContext()',
      {withoutStack: true},
    );
    expect(renderPasses).toBe(2);
    expect(instance.state.value).toBe(1);
    
    ReactDOM.unmountComponentAtNode(container);
    ReactDOM.render(<Component />, container);
  });
  it('should cleanup even if render() fatals', () => {
    class BadComponent extends React.Component {