Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

use web3 instance of TestRunner instead of global #1197

Merged
merged 1 commit into from Aug 20, 2018

Conversation

Mischi
Copy link
Contributor

@Mischi Mischi commented Aug 18, 2018

Hi

while trying to come up with a possible solution for #500, and #403 I noticed that the TestRunner relies on the global web3 instance which is exposed to the unit tests. I think it would be better to reuse the web3 instance of the TestRunner instance.

Cheers,
Fabian

Copy link
Contributor

@gnidan gnidan left a comment

Choose a reason for hiding this comment

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

Cool, nice!

@gnidan gnidan merged commit 7ca2a87 into trufflesuite:develop Aug 20, 2018
@Mischi Mischi deleted the patch-1 branch August 20, 2018 23:26
@Mischi
Copy link
Contributor Author

Mischi commented Aug 20, 2018

Thanks 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants