Rename COVERAGE to SOLIDITY_COVERAGS

This commit is contained in:
Leonid Logvinov
2018-03-09 15:39:50 +01:00
parent b4cb88ab26
commit c5afca53a4
4 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ export const web3Factory = {
},
getRpcProvider(config: Web3Config = {}): Web3.Provider {
const provider = new ProviderEngine();
if (process.env.COVERAGE) {
if (process.env.SOLIDITY_COVERAGE) {
provider.addProvider(getCoverageSubproviderSingleton());
}
const hasAddresses = _.isUndefined(config.hasAddresses) || config.hasAddresses;