Skip to content

Add explicit warning assertions to ReactDOMInput-test#11744

Merged
gaearon merged 1 commit intofacebook:masterfrom
gaearon:add-warning-assertions
Dec 1, 2017
Merged

Add explicit warning assertions to ReactDOMInput-test#11744
gaearon merged 1 commit intofacebook:masterfrom
gaearon:add-warning-assertions

Conversation

@gaearon
Copy link
Copy Markdown
Collaborator

@gaearon gaearon commented Dec 1, 2017

It used to spyOnDev() before every test, effectively ignoring any warnings. So it was easy to break a warning in some cases, or to fire an extra one. This adds explicit assertions about all currently firing warnings.

@gaearon gaearon merged commit 59763bf into facebook:master Dec 1, 2017
@gaearon gaearon deleted the add-warning-assertions branch December 1, 2017 17:16
@gaearon gaearon modified the milestone: 17.0.0 Dec 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants