-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Variable explorer and mime test fixes for tests #7740
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
Codecov Report
@@ Coverage Diff @@
## master #7740 +/- ##
==========================================
- Coverage 58.81% 58.44% -0.37%
==========================================
Files 496 496
Lines 22115 22142 +27
Branches 3558 3562 +4
==========================================
- Hits 13006 12941 -65
- Misses 8297 8383 +86
- Partials 812 818 +6
Continue to review full report at Codecov.
|
} | ||
|
||
// If the new state includes pendingVariableCount and it's gone to zero, send a message | ||
if ('pendingVariableCount' in newState && this.state.pendingVariableCount === 0 && oldCount !== 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.state.pendingVariableCount === 0 && oldCount !== 0 [](start = 50, length = 55)
What's the case where we need the first part of the &&?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pendingVariableCount in newState? It indicates that we just changed it. Yeah that seems redundant now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For #7369
Make variable explorer tests more deterministic
Fix a missing constant in the mime test