I think this shouldn't pass:

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

but it does.
throw new Error('Expected this test to run in a Node environment.');
    }
    jest.resetModules();
    expect(() => {
      require('react-dom');
    }).not.toThrow();
  });
  it('includes a useful stack in warnings', () => {
    function A() {
      return null;
    }
    function B() {
      return (
        <font>
          <C>
            <span ariaTypo="no" />
          </C>
        </font>
      );
    }
    class C extends React.Component {
      render() {
        return <b>{this.props.children}</b>;
      }
    }
    function Child() {
      return [<A key="1" />, <B key="2" />, <span ariaTypo2="no" />];
    }
    function App() {