Skip to content

Conversation

rchiodo
Copy link

@rchiodo rchiodo commented Oct 2, 2019

For #7369

Make variable explorer tests more deterministic
Fix a missing constant in the mime test

@rchiodo rchiodo added the no-changelog No news entry required label Oct 2, 2019
@rchiodo rchiodo self-assigned this Oct 2, 2019
@codecov-io
Copy link

codecov-io commented Oct 2, 2019

Codecov Report

Merging #7740 into master will decrease coverage by 0.36%.
The diff coverage is 100%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
...ience/interactive-common/interactiveWindowTypes.ts 100% <100%> (ø) ⬆️
src/client/testing/serviceRegistry.ts 48.64% <0%> (-46.85%) ⬇️
src/client/testing/codeLenses/main.ts 44.44% <0%> (-33.34%) ⬇️
...t/datascience/jupyter/jupyterDataRateLimitError.ts 66.66% <0%> (-33.34%) ⬇️
src/client/formatters/serviceRegistry.ts 75% <0%> (-25%) ⬇️
src/client/common/utils/icons.ts 83.33% <0%> (-16.67%) ⬇️
src/client/api.ts 78.57% <0%> (-14.29%) ⬇️
src/client/datascience/cellFactory.ts 75.86% <0%> (-13.8%) ⬇️
src/client/common/utils/platform.ts 76.47% <0%> (-11.77%) ⬇️
src/client/providers/providerUtilities.ts 83.33% <0%> (-5.56%) ⬇️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6346723...4ea3cbd. Read the comment docs.

}

// 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) {
Copy link
Member

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 &&?

Copy link
Author

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.

Copy link
Member

@IanMatthewHuff IanMatthewHuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@rchiodo rchiodo merged commit 2b7cbaa into master Oct 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 10, 2019
@rchiodo rchiodo deleted the rchiodo/variable_test_2 branch October 10, 2019 23:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants