aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-22 07:41:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-23 06:20:34 +0800
commit8267950dbcc22bb6d572a9523bfa578f78f891f8 (patch)
treee6746ee782e322bcf618ea60341666c9fa0eac24 /packages/contracts/test
parent56d1b0103f100c19ce0ee1572980b949161532f4 (diff)
downloaddexon-sol-tools-8267950dbcc22bb6d572a9523bfa578f78f891f8.tar
dexon-sol-tools-8267950dbcc22bb6d572a9523bfa578f78f891f8.tar.gz
dexon-sol-tools-8267950dbcc22bb6d572a9523bfa578f78f891f8.tar.bz2
dexon-sol-tools-8267950dbcc22bb6d572a9523bfa578f78f891f8.tar.lz
dexon-sol-tools-8267950dbcc22bb6d572a9523bfa578f78f891f8.tar.xz
dexon-sol-tools-8267950dbcc22bb6d572a9523bfa578f78f891f8.tar.zst
dexon-sol-tools-8267950dbcc22bb6d572a9523bfa578f78f891f8.zip
Assign then return
Diffstat (limited to 'packages/contracts/test')
-rw-r--r--packages/contracts/test/utils/coverage.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/test/utils/coverage.ts b/packages/contracts/test/utils/coverage.ts
index 58010e47f..52c419ffc 100644
--- a/packages/contracts/test/utils/coverage.ts
+++ b/packages/contracts/test/utils/coverage.ts
@@ -17,6 +17,7 @@ export const coverage = {
const CONFIG_FILE = 'compiler.json';
const config = JSON.parse(fs.readFileSync(CONFIG_FILE).toString());
const zeroExArtifactsAdapter = new ZeroExArtifactAdapter(config.artifactsDir, config.contractsDir);
- return new CoverageSubprovider(zeroExArtifactsAdapter, defaultFromAddress);
+ const coverageSubrpovider = new CoverageSubprovider(zeroExArtifactsAdapter, defaultFromAddress);
+ return coverageSubprovider;
},
};