From 90b5e5e09fda6c801d9ce9411e878a16b4dedfea Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 3 Jun 2018 21:55:41 -0700 Subject: [PATCH] deps: bump mocha and babel --- .../regressions/checkban-blank-name.js | 15 ++++++++++++--- package.json | 10 +++++----- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/integration_test/regressions/checkban-blank-name.js b/integration_test/regressions/checkban-blank-name.js index 0b3d9907..37fb108e 100644 --- a/integration_test/regressions/checkban-blank-name.js +++ b/integration_test/regressions/checkban-blank-name.js @@ -51,7 +51,10 @@ describe('onPreUserJoin Ban Check', () => { return 'anotherTroll'; }, - realip: bannedIP + realip: bannedIP, + + kick() { + } }; module.onUserPreJoin(user, null, (error, res) => { @@ -67,7 +70,10 @@ describe('onPreUserJoin Ban Check', () => { return 'troll'; }, - realip: '5.5.5.5' + realip: '5.5.5.5', + + kick() { + } }; module.onUserPreJoin(user, null, (error, res) => { @@ -83,7 +89,10 @@ describe('onPreUserJoin Ban Check', () => { return ''; }, - realip: bannedIP + realip: bannedIP, + + kick() { + } }; module.onUserPreJoin(user, null, (error, res) => { diff --git a/package.json b/package.json index e01be8b3..af50dc8d 100644 --- a/package.json +++ b/package.json @@ -52,12 +52,12 @@ "postinstall": "./postinstall.sh", "server-dev": "babel -D --watch --source-maps --loose es6.destructuring,es6.forOf --out-dir lib/ src/", "generate-userscript": "$npm_node_execpath gdrive-userscript/generate-userscript $@ > www/js/cytube-google-drive.user.js", - "test": "mocha --recursive test", - "integration-test": "mocha --recursive integration_test" + "test": "mocha --recursive --exit test", + "integration-test": "mocha --recursive --exit integration_test" }, "devDependencies": { - "babel-cli": "^6.24.1", - "babel-core": "^6.25.0", + "babel-cli": "^6.26.0", + "babel-core": "^6.26.3", "babel-eslint": "^8.2.2", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-async-to-generator": "^6.24.1", @@ -67,7 +67,7 @@ "coffeescript": "^1.9.2", "eslint": "^4.19.1", "flow-bin": "^0.43.0", - "mocha": "^3.2.0", + "mocha": "^5.2.0", "sinon": "^2.3.2" }, "babel": {