diff --git a/package.json b/package.json index 05bb481..e13e333 100644 --- a/package.json +++ b/package.json @@ -40,27 +40,25 @@ }, "devDependencies": { "@bubltechnology/customizable-commit-analyzer": "https://github.com/fullcube/customizable-commit-analyzer/tarball/364e96c6f590c20f82d76557a5fa0d4481c48c5f", - "chai": "^3.5.0", - "condition-circle": "^1.5.0", - "conventional-commit-types": "^2.1.0", - "coveralls": "^2.11.16", - "dirty-chai": "^1.2.2", - "eslint": "2.13.1", - "eslint-config-fullcube": "latest", - "eslint-plugin-mocha": "latest", - "husky": "^0.13.1", - "loopback": "^2.36.0", - "mocha": "^3.2.0", - "mocha-sinon": "^1.1.6", - "nyc": "^10.1.2", - "semantic-release": "^6.3.2", - "sinon": "^1.17.6", - "sinon-chai": "^2.8.0", - "validate-commit-msg": "^2.11.1" + "chai": "4.0.2", + "condition-circle": "1.5.0", + "conventional-commit-types": "2.1.0", + "coveralls": "2.13.1", + "dirty-chai": "2.0.0", + "eslint-config-fullcube": "^2.0.2", + "husky": "0.14.0", + "loopback": "3.8.0", + "mocha": "3.4.2", + "mocha-sinon": "2.0.0", + "nyc": "11.0.2", + "semantic-release": "6.3.6", + "sinon": "2.3.5", + "sinon-chai": "2.11.0", + "validate-commit-msg": "2.12.2" }, "dependencies": { - "lodash": "^4.17.2", - "debug": "^2.3.3" + "debug": "2.6.8", + "lodash": "^4.17.4" }, "release": { "verifyConditions": "condition-circle", diff --git a/test/test.js b/test/test.js index 08e981b..430024d 100644 --- a/test/test.js +++ b/test/test.js @@ -1,7 +1,7 @@ const loopback = require('loopback') const chai = require('chai') -const expect = chai.expect +const { expect } = chai chai.use(require('sinon-chai')) chai.use(require('dirty-chai')) @@ -45,7 +45,6 @@ const Item = loopback.PersistedModel.extend('Item', { type: 'hasMany', model: 'Poly', polymorphic: { - as: 'poly', foreignKey: 'referenceId', discriminator: 'referenceType', },