From bdfde5939062608d3f48eba3ac427230abf38e72 Mon Sep 17 00:00:00 2001 From: Alexey Kucherenko Date: Mon, 7 May 2018 23:02:58 +0300 Subject: [PATCH] bump deps, fix tests --- package.json | 25 +++++++++++++------------ test/test.js | 4 ++-- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 78dcb29..7600302 100644 --- a/package.json +++ b/package.json @@ -49,26 +49,27 @@ "dependencies": { "cli-prompt": "^0.6.0", "commander": "^2.8.1", - "debug": "^2.6.8", + "debug": "^3.1.0", "mkdirp": "^0.5.1" }, "devDependencies": { "bluebird": "^3.5.0", - "chai": "latest", - "condition-circle": "^1.5.0", + "chai": "^4.1.2", + "commitlint": "^6.2.0", + "condition-circle": "^2.0.1", "ghooks": "^2.0.0", - "jscs": "latest", - "jshint": "latest", - "lodash": "latest", + "jscs": "^3.0.7", + "jshint": "^2.9.5", + "lodash": "^4.17.10", "loopback": "^3.8.0", "loopback-boot": "^2.24.1", - "loopback-component-explorer": "^4.2.0", + "loopback-component-explorer": "^6.0.0", "loopback-testing": "^1.4.0", - "mocha": "latest", - "nyc": "latest", - "semantic-release": "^6.3.6", - "sinon": "latest", - "sinon-chai": "latest", + "mocha": "^5.1.1", + "nyc": "^11.7.1", + "semantic-release": "^15.3.1", + "sinon": "^5.0.7", + "sinon-chai": "^3.0.0", "validate-commit-msg": "^2.12.2" }, "config": { diff --git a/test/test.js b/test/test.js index a7630ef..f97e323 100644 --- a/test/test.js +++ b/test/test.js @@ -50,8 +50,8 @@ describe('loopback db migrate', function() { }; this.resetSpies = function() { - _.forEach(this.spies, function(spy) { - spy.reset(); + _.forEach(this.spies, function(spy, key) { + spy.resetHistory(); }); };