I think this shouldn't pass:

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

but it does.
static contextTypes = {
        foo: PropTypes.string,
        depth: PropTypes.number,
      };
      render() {
        childInstance = this;
        return <span>Child</span>;
      }
    }
    parentInstance = ReactTestUtils.renderIntoDocument(<Parent />);
    expect(childInstance).toBeNull();
    expect(parentInstance.state.flag).toBe(false);
    ReactDOM.unstable_batchedUpdates(function() {
      parentInstance.setState({flag: true});
    });
    expect(parentInstance.state.flag).toBe(true);
    expect(childInstance.context).toEqual({foo: 'bar', depth: 0});
  });
  it('unmasked context propagates through updates', () => {
    class Leaf extends React.Component {