I think this shouldn't pass:

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

but it does.
render() {
        return <div />;
      }
    }
    let instance = <Component />;
    expect(instance.forceUpdate).not.toBeDefined();
    instance = ReactDOM.render(instance, container);
    instance.forceUpdate();
    ReactDOM.unmountComponentAtNode(container);
    expect(() => instance.forceUpdate()).toWarnDev(
      "Warning: Can't call setState (or forceUpdate) on an unmounted " +
        'component. This is a no-op, but it indicates a memory leak in your ' +
        'application. To fix, cancel all subscriptions and asynchronous ' +
        'tasks in the componentWillUnmount method.\n' +
        '    in Component (at **)',
    );
    
    instance.forceUpdate();
  });
  it('should warn about `setState` on unmounted components', () => {
    const container = document.createElement('div');
    document.body.appendChild(container);
    let renders = 0;
    class Component extends React.Component {