Переглянути джерело

updated mocha and added --exit back in

Henry Oswald 8 роки тому
батько
коміт
ee81a6af00
2 змінених файлів з 835 додано та 460 видалено
  1. 832 457
      services/filestore/npm-shrinkwrap.json
  2. 3 3
      services/filestore/package.json

Різницю між файлами не показано, бо вона завелика
+ 832 - 457
services/filestore/npm-shrinkwrap.json


+ 3 - 3
services/filestore/package.json

@@ -17,8 +17,8 @@
     "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests",
     "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests",
     "start": "npm run compile:app && node $NODE_APP_OPTIONS app.js",
     "start": "npm run compile:app && node $NODE_APP_OPTIONS app.js",
     "nodemon": "nodemon --config nodemon.json",
     "nodemon": "nodemon --config nodemon.json",
-    "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000  $@ test/acceptance/js",
-    "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js"
+    "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js", 
+    "test:unit:_run": "mocha --recursive --exit --reporter spec $@ test/unit/js"
   },
   },
   "dependencies": {
   "dependencies": {
     "async": "~0.2.10",
     "async": "~0.2.10",
@@ -41,7 +41,7 @@
     "settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
     "settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
     "stream-buffers": "~0.2.5",
     "stream-buffers": "~0.2.5",
     "underscore": "~1.5.2",
     "underscore": "~1.5.2",
-    "mocha": "^4.0.1",
+    "mocha": "5.2.0",
     "body-parser": "^1.2.0"
     "body-parser": "^1.2.0"
   },
   },
   "devDependencies": {
   "devDependencies": {

Деякі файли не було показано, через те що забагато файлів було змінено