Skip to content

Commit

Permalink
Temp fix to workaround LimeChain/etherlime#315
Browse files Browse the repository at this point in the history
  • Loading branch information
elenadimitrova committed Mar 16, 2020
1 parent 8a45e8c commit f846023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simpleUpgrader.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe("Test SimpleUpgrader", function () {
// Here we adjust how we call isRegisteredModule which has 2 overlaods, one accepting a single address
// and a second accepting an array of addresses. Behaviour as to which overload is selected to run
// differs between CI and Coverage environments, adjusted for this here
if (process.env.CI && process.env.SOLIDITY_COVERAGE) {
if (process.env.SOLIDITY_COVERAGE && process.env.CI) {
isRegistered = await registry.isRegisteredModule([initialModule.contractAddress]);
} else {
isRegistered = await registry.isRegisteredModule(initialModule.contractAddress);
Expand Down

0 comments on commit f846023

Please sign in to comment.