diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-22 07:41:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-23 06:20:34 +0800 |
commit | 8267950dbcc22bb6d572a9523bfa578f78f891f8 (patch) | |
tree | e6746ee782e322bcf618ea60341666c9fa0eac24 /packages/contracts/test | |
parent | 56d1b0103f100c19ce0ee1572980b949161532f4 (diff) | |
download | dexon-0x-contracts-8267950dbcc22bb6d572a9523bfa578f78f891f8.tar.gz dexon-0x-contracts-8267950dbcc22bb6d572a9523bfa578f78f891f8.tar.zst dexon-0x-contracts-8267950dbcc22bb6d572a9523bfa578f78f891f8.zip |
Assign then return
Diffstat (limited to 'packages/contracts/test')
-rw-r--r-- | packages/contracts/test/utils/coverage.ts | 3 |
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; }, }; |