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": {