I think this shouldn't pass:

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

but it does.
return <div className="parent">{this.props.children}</div>;
      }
    }
    const div = document.createElement('div');
    let parentInstance = null;
    ReactDOM.render(
      <Parent ref={inst => (parentInstance = inst)}>
        <ChildWithoutContext>
          A1
          <GrandChild>A2</GrandChild>
        </ChildWithoutContext>
        <ChildWithContext>
          B1
          <GrandChild>B2</GrandChild>
        </ChildWithContext>
      </Parent>,
      div,
    );
    parentInstance.setState({
      foo: 'def',
    });
    expect(propChanges).toBe(0);
    expect(contextChanges).toBe(3); 
  });
  it('should disallow nested render calls', () => {
    class Inner extends React.Component {