-
Notifications
You must be signed in to change notification settings - Fork 219
WIP: Test failures with React 16 #207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I'll disable the Modal tests, we're addressing that issue in #201. |
48ab346
to
561ede4
Compare
ba5513b
to
37c92ce
Compare
I stole the error boundary part from #208. Unfortunately, it doesn't work with React 15 yet. I guess the |
37c92ce
to
c0f5555
Compare
We can just update the dev dep to 16 for this I think. Does the error boundary approach work? |
We'd need to add an assertion on the number of That or save off the exception and do the checking outside Otherwise those test cases would pass even if the error is not thrown. |
@jquense, unfortunately, it doesn't seem as if the approach works. |
some more context facebook/react#10474 (comment) |
If we're not testing lifecycle handling here, can we just use the SSR API? That still throws normally, right? |
I can't get it to work with React 16. It seems as if |
Doesn't it explicitly throw a normal JS exception with |
Closing in favor of #216 |
Some tests start to fail with React 16.