autemaliquid
Version:
Mocha reporter which shows gas used per unit test.
26 lines (25 loc) • 547 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
}
}
};