nit: This test should probably just be in [`packages/react/src/__tests__/ReactContextValidator-test`](https://github.com/facebook/react/blob/master/packages/react/src/__tests__/ReactContextValidator-test.js) with the other validation tests.