Throw error when mocha parallel is set to true (#833)
parent
658dc377b1
commit
abea00b21c
@ -0,0 +1,7 @@ |
||||
module.exports = { |
||||
"silent": false, |
||||
"istanbulReporter": [ "json-summary", "text"], |
||||
"mocha": { |
||||
parallel: true // manually tested that setting to false overrides HH config
|
||||
}, |
||||
} |
@ -0,0 +1,10 @@ |
||||
pragma solidity ^0.7.0; |
||||
|
||||
|
||||
contract ContractA { |
||||
uint x; |
||||
|
||||
function set() public { |
||||
x = 5; |
||||
} |
||||
} |
@ -0,0 +1,8 @@ |
||||
require(__dirname + "/../plugins/nomiclabs.plugin"); |
||||
|
||||
module.exports = { |
||||
mocha: { |
||||
parallel: true |
||||
}, |
||||
logger: process.env.SILENT ? { log: () => {} } : console, |
||||
}; |
Loading…
Reference in new issue