I think this shouldn't pass:

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

but it does.
getChildContext() {
          return {
            text: 'hello, world',
          };
        }
        render() {
          return this.props.children;
        }
      }
      ContextProvider.childContextTypes = {
        text: PropTypes.string,
      };
      const markup = ReactDOMServer.renderToString(
        <ContextProvider>
          <Component />
        </ContextProvider>,
      );
      expect(markup).toContain('hello, world');
    });
    it('renders with new context API', () => {
      const Context = React.createContext(0);
      function Consumer(props) {
        return (
          <Context.Consumer>{value => 'Result: ' + value}</Context.Consumer>
        );
      }
      const Indirection = React.Fragment;
      function App(props) {