aboutsummaryrefslogtreecommitdiffstats
path: root/packages/metacoin
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-22 07:42:37 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-23 06:20:34 +0800
commit6aafda45170d77f9e10025ce119d47d9710a87ec (patch)
treeccb5127a4af2e9c7b76a3682a364e70f63a1e81a /packages/metacoin
parent8267950dbcc22bb6d572a9523bfa578f78f891f8 (diff)
downloaddexon-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.ts3
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);