Rename COVERAGE to SOLIDITY_COVERAGS
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
## v0.3.0 - _TBD, 2018_
|
||||
|
||||
* Add coverage subprovider if enabled (#426)
|
||||
* Add coverage subprovider if SOLIDITY_COVERAGE env variable is true (#426)
|
||||
* Refactor `BlockchainLifecycle` to work with in-process ganache (#426)
|
||||
* Remove `RPC` class and move it's logic to `Web3Wrapper` (#426)
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user