(timestamp, years)
| 807 | } |
| 808 | |
| 809 | function addYears(timestamp, years) { |
| 810 | let time = new Date(timestamp * 1000); |
| 811 | return time.setUTCFullYear(time.getUTCFullYear() + years) / 1000; |
| 812 | } |
| 813 | |
| 814 | function checkScheduleLog(log, name, startTime, interval, timeUnit) { |
| 815 | assert.equal(web3.utils.toAscii(log.args._name).replace(/\u0000/g, ""), web3.utils.toAscii(name)); |
no outgoing calls
no test coverage detected