} } return errors; } verify() { const errors = this.report(); if (errors.length > 0) { throw new AssertionError({ message: 'Function(s) were not called the expected number of times', details: errors, }); } } } module.exports = CallTracker;