diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-09 22:45:45 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 10:37:28 +0800 |
commit | a9479b3c015961e93f396fb1e23dc61e261c6aef (patch) | |
tree | 7f63e7309be1afb673c437d8c534e10c0ff136e1 /packages/contracts/test | |
parent | c5afca53a4e94b51956f10f564c2e9db00012c8f (diff) | |
download | dexon-sol-tools-a9479b3c015961e93f396fb1e23dc61e261c6aef.tar dexon-sol-tools-a9479b3c015961e93f396fb1e23dc61e261c6aef.tar.gz dexon-sol-tools-a9479b3c015961e93f396fb1e23dc61e261c6aef.tar.bz2 dexon-sol-tools-a9479b3c015961e93f396fb1e23dc61e261c6aef.tar.lz dexon-sol-tools-a9479b3c015961e93f396fb1e23dc61e261c6aef.tar.xz dexon-sol-tools-a9479b3c015961e93f396fb1e23dc61e261c6aef.tar.zst dexon-sol-tools-a9479b3c015961e93f396fb1e23dc61e261c6aef.zip |
Make coverage a module instead of a function
Diffstat (limited to 'packages/contracts/test')
-rw-r--r-- | packages/contracts/test/global_hooks.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/global_hooks.ts b/packages/contracts/test/global_hooks.ts index b29e171d7..0440c871d 100644 --- a/packages/contracts/test/global_hooks.ts +++ b/packages/contracts/test/global_hooks.ts @@ -1,8 +1,8 @@ -import { getCoverageSubproviderSingleton } from '@0xproject/dev-utils'; +import { coverage } from '@0xproject/dev-utils'; after('generate coverage report', async () => { if (process.env.SOLIDITY_COVERAGE) { - const coverageSubprovider = getCoverageSubproviderSingleton(); + const coverageSubprovider = coverage.getCoverageSubproviderSingleton(); await coverageSubprovider.writeCoverageAsync(); } }); |