Skip to content

Conversation

@gaearon
Copy link
Collaborator

@gaearon gaearon commented Oct 29, 2016

This deletes our use of reactComponentExpect (which has never been a public API).
Pretty sure it was added at some point to save the time but here we are.

I haven't checked the use of this internally yet but if we do use it, we should either change those callsites or at least put it in the contrib folder and mark as deprecated.

This bumps from 960 to 967 tests on Fiber, but more importantly, it surfaces real errors instead of artificial ones.

@sebmarkbage
Copy link
Collaborator

I'm pretty sure this is heavily used internally and also in React Native. Clean up might be a bit of work. I don't think we should delete it from the repo until we've fixed those callers - which might need to be maintained in this repo. We can land the fixes to our tests though.

@gaearon gaearon force-pushed the kill-reactcomponentexpect branch from 2f99ed7 to 48ccf52 Compare October 29, 2016 21:13
@gaearon
Copy link
Collaborator Author

gaearon commented Oct 29, 2016

Un-deleted reactComponentExpect and its test.

@gaearon
Copy link
Collaborator Author

gaearon commented Oct 29, 2016

Landing fixes just to our tests.

@gaearon gaearon merged commit c567b6e into facebook:master Oct 29, 2016
@gaearon gaearon deleted the kill-reactcomponentexpect branch October 29, 2016 23:44
acusti pushed a commit to brandcast/react that referenced this pull request Mar 15, 2017
@gaearon gaearon mentioned this pull request Oct 20, 2017
26 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants