chore: move mocha flag to opts

This commit is contained in:
jannyHou 2019-11-07 09:47:11 -05:00
parent 024f5e7937
commit f44e8f5594
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@
"scripts": {
"pretest": "node pretest.js",
"lint": "eslint .",
"test": "mocha --timeout 10000 --exit test/*.test.js node_modules/juggler-v3/test.js node_modules/juggler-v4/test.js",
"test": "mocha test/*.test.js node_modules/juggler-v3/test.js node_modules/juggler-v4/test.js",
"posttest": "npm run lint"
},
"dependencies": {

View File

@ -1,2 +1,3 @@
--globals getSchema
--timeout 15000
--exit