@g4g/eth-gas-reporter
Version:
Mocha reporter which shows gas used per unit test.
27 lines (26 loc) • 574 B
JavaScript
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*",
websockets: process.env.TEST === "integration" ? true : false
}
},
mocha: {
reporter: "eth-gas-reporter",
reporterOptions: {
currency: "chf",
gasPrice: 21,
onlyCalledMethods: false,
noColors: true,
rst: true,
rstTitle: "Gas Usage",
showTimeSpent: true,
excludeContracts: ["Migrations"],
proxyResolver: "EtherRouter",
codechecks: true,
showMethodSig: true
}
}
};