diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-22 07:42:37 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-23 06:20:34 +0800 |
commit | 6aafda45170d77f9e10025ce119d47d9710a87ec (patch) | |
tree | ccb5127a4af2e9c7b76a3682a364e70f63a1e81a /packages/metacoin | |
parent | 8267950dbcc22bb6d572a9523bfa578f78f891f8 (diff) | |
download | dexon-0x-contracts-6aafda45170d77f9e10025ce119d47d9710a87ec.tar.gz dexon-0x-contracts-6aafda45170d77f9e10025ce119d47d9710a87ec.tar.zst dexon-0x-contracts-6aafda45170d77f9e10025ce119d47d9710a87ec.zip |
Assign then pass
Diffstat (limited to 'packages/metacoin')
-rw-r--r-- | packages/metacoin/test/utils/web3_wrapper.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/metacoin/test/utils/web3_wrapper.ts b/packages/metacoin/test/utils/web3_wrapper.ts index 9f6b155fc..724ed4e1f 100644 --- a/packages/metacoin/test/utils/web3_wrapper.ts +++ b/packages/metacoin/test/utils/web3_wrapper.ts @@ -25,7 +25,8 @@ provider.start(); const isCoverageEnabled = env.parseBoolean(EnvVars.SolidityCoverage); if (isCoverageEnabled) { - prependSubprovider(provider, coverage.getCoverageSubproviderSingleton()); + const coverageSubprovider = coverage.getCoverageSubproviderSingleton(); + prependSubprovider(provider, coverageSubprovider); } export const web3Wrapper = new Web3Wrapper(provider); |