Skip to content
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

Implement FakeIpcProvider.reset (#3190) #3344

Merged
merged 2 commits into from
Jan 28, 2020

Conversation

cgewecke
Copy link
Collaborator

@cgewecke cgewecke commented Jan 27, 2020

Description

PR targets #3190

This tries to make sure the injection-based tests in contract.js run the subscriptions clearing correctly when RequestManager.setProvider is called.

In #3303 there was quite a bit of confusion about whether or not additional listeners are being attached on a double-call to setProvider...but it looks like the test fixture might just not reflect the code path correctly.

Type of change

  • Review recommendation

Checklist:

  • I have selected the correct base branch.
  • I have performed a self-review of my own code.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 88.006% when pulling 060a71d on pri/fix-contract-js-test into 5e3ad84 on provider-related-improvements.

@cgewecke cgewecke added the Review Needed Maintainer(s) need to review label Jan 27, 2020
@cgewecke cgewecke changed the title Implement FakeIpcProvider.reset Implement FakeIpcProvider.reset (#3190) Jan 27, 2020
@nivida nivida merged commit d05d608 into provider-related-improvements Jan 28, 2020
@nivida nivida deleted the pri/fix-contract-js-test branch January 31, 2020 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review Needed Maintainer(s) need to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants