I think this shouldn't pass:

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

but it does.
return {
        foo: [1, 2, 3],
        bar: {a: 4, b: 5, c: 6},
      };
    }
    let renderCalls = 0;
    const initialSettings = getInitialState();
    class Component extends React.Component {