deps: bump mocha and babel

This commit is contained in:
Calvin Montgomery 2018-06-03 21:55:41 -07:00
parent 125a781cc7
commit 90b5e5e09f
2 changed files with 17 additions and 8 deletions

View file

@ -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) => {

View file

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