Code coverage for Solidity smart-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
solidity-coverage/test/integration/projects/hardhat-compile-config/hardhat.config.js

37 lines
706 B

require("@nomiclabs/hardhat-truffle5");
require(__dirname + "/../plugins/nomiclabs.plugin");
module.exports={
solidity: {
compilers: [
{
version: "0.5.5"
},
{
version: "0.5.7"
},
// Make sure optimizer gets disabled
{
version: "0.6.7",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
}
],
overrides: {
"contracts/ContractA.sol": {
version: "0.5.5",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
}
}
},
logger: process.env.SILENT ? { log: () => {} } : console,
};