diff options
| -rw-r--r-- | package.json | 23 | ||||
| -rw-r--r-- | test/index.js | 2 |
2 files changed, 15 insertions, 10 deletions
diff --git a/package.json b/package.json index a0dbdf1..f2298f8 100644 --- a/package.json +++ b/package.json @@ -59,22 +59,27 @@ ], "@typescript-eslint/no-explicit-any": 0, "@typescript-eslint/explicit-function-return-type": 0, + "@typescript-eslint/explicit-module-boundary-types": 0, "@typescript-eslint/no-empty-function": 0 } }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "^2.34.0", - "@typescript-eslint/parser": "^2.34.0", - "chai": "^3.5.0", + "@types/chai": "^4.2.11", + "@types/mocha": "^7.0.2", + "@types/sinon": "^9.0.4", + "@types/sinon-chai": "^3.2.4", + "@typescript-eslint/eslint-plugin": "^3.0.1", + "@typescript-eslint/parser": "^3.0.1", + "chai": "^4.2.0", "documentation": "^13.0.0", - "eslint": "^6.5.1", + "eslint": "^7.1.0", "esm": "^3.2.25", "microbundle": "^0.12.0", - "mocha": "^3.2.0", - "npm-run-all": "^2.1.1", - "rimraf": "^2.5.2", - "sinon": "^1.17.4", - "sinon-chai": "^2.8.0", + "mocha": "^7.2.0", + "npm-run-all": "^4.1.5", + "rimraf": "^3.0.2", + "sinon": "^9.0.2", + "sinon-chai": "^3.5.0", "ts-node": "^8.10.1", "typescript": "^3.9.3" } diff --git a/test/index.js b/test/index.js index 020c91f..dceb4b7 100644 --- a/test/index.js +++ b/test/index.js @@ -159,7 +159,7 @@ describe('mitt#', () => { inst.emit('foo', ea); expect(star).to.have.been.calledOnce.and.calledWith('foo', ea); - star.reset(); + star.resetHistory(); inst.emit('bar', eb); expect(star).to.have.been.calledOnce.and.calledWith('bar', eb); |
