diff --git a/package.json b/package.json index 2c9096a..81391ae 100755 --- a/package.json +++ b/package.json @@ -51,10 +51,10 @@ }, "devDependencies": { "chai": "^4.1.2", - "coveralls": "^2.13.1", + "coveralls": "^3.0.2", "istanbul": "^0.4.5", "mocha": "^5", "mocha-lcov-reporter": "^1.3.0", - "sinon": "^3.2.1" + "sinon": "^6.1.4" } } diff --git a/src/models/hasTimes.js b/src/models/hasTimes.js index 297290a..8755c07 100755 --- a/src/models/hasTimes.js +++ b/src/models/hasTimes.js @@ -127,7 +127,7 @@ class hasTimes extends Base { let difference = this.data.time_stats.total_time_spent - totalTimeSpent, note = Object.assign({noteable_type: this._typeSingular}, this.data); - times.unshift(new Time(Time.toHumanReadable(difference, null, this.config.get('hoursPerDay')), note, this, this.config)); + times.unshift(new Time(Time.toHumanReadable(difference, this.config.get('hoursPerDay')), note, this, this.config)); resolve(); })); @@ -142,4 +142,4 @@ class hasTimes extends Base { } } -module.exports = hasTimes; \ No newline at end of file +module.exports = hasTimes;