diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-09 22:39:50 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 10:37:28 +0800 |
commit | c5afca53a4e94b51956f10f564c2e9db00012c8f (patch) | |
tree | 213fa5e527ae16072a9a4be0086aeca488ac54f0 /packages/contracts | |
parent | b4cb88ab26a08851ab02e19e7105d29f8ee94184 (diff) | |
download | dexon-sol-tools-c5afca53a4e94b51956f10f564c2e9db00012c8f.tar dexon-sol-tools-c5afca53a4e94b51956f10f564c2e9db00012c8f.tar.gz dexon-sol-tools-c5afca53a4e94b51956f10f564c2e9db00012c8f.tar.bz2 dexon-sol-tools-c5afca53a4e94b51956f10f564c2e9db00012c8f.tar.lz dexon-sol-tools-c5afca53a4e94b51956f10f564c2e9db00012c8f.tar.xz dexon-sol-tools-c5afca53a4e94b51956f10f564c2e9db00012c8f.tar.zst dexon-sol-tools-c5afca53a4e94b51956f10f564c2e9db00012c8f.zip |
Rename COVERAGE to SOLIDITY_COVERAGS
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/package.json | 2 | ||||
-rw-r--r-- | packages/contracts/test/global_hooks.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 8f353d1a6..ba0b52e90 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -13,7 +13,7 @@ "copy_artifacts": "copyfiles './src/artifacts/**/*' ./lib", "build": "tsc", "test": "run-s build run_mocha", - "test:coverage": "COVERAGE=true run-s build run_mocha coverage:report:text", + "test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text", "run_mocha": "mocha 'lib/test/**/*.js' --timeout 10000 --bail --exit", "compile:comment": "Yarn workspaces do not link binaries correctly so we need to reference them directly https://github.com/yarnpkg/yarn/issues/3846", "compile": "node ../deployer/lib/src/cli.js compile --contracts ${npm_package_config_contracts} --contracts-dir src/contracts --artifacts-dir src/artifacts", diff --git a/packages/contracts/test/global_hooks.ts b/packages/contracts/test/global_hooks.ts index 670ac3bdf..b29e171d7 100644 --- a/packages/contracts/test/global_hooks.ts +++ b/packages/contracts/test/global_hooks.ts @@ -1,7 +1,7 @@ import { getCoverageSubproviderSingleton } from '@0xproject/dev-utils'; after('generate coverage report', async () => { - if (process.env.COVERAGE) { + if (process.env.SOLIDITY_COVERAGE) { const coverageSubprovider = getCoverageSubproviderSingleton(); await coverageSubprovider.writeCoverageAsync(); } |