From b32c63e16c3cb5ac069732f67c7ac2fa05bbcb85 Mon Sep 17 00:00:00 2001 From: Christopher Hoskin Date: Fri, 18 May 2018 14:59:34 +0100 Subject: [PATCH] Remove --exit option to support older mocha --- services/filestore/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/filestore/package.json b/services/filestore/package.json index a3e679ce59..9694fc6679 100644 --- a/services/filestore/package.json +++ b/services/filestore/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/sharelatex/filestore-sharelatex.git" }, "scripts": { - "test:acceptance:run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js", + "test:acceptance:run": "mocha --recursive --reporter spec --timeout 15000 $@ test/acceptance/js", "test:acceptance": "npm run compile:app && npm run compile:acceptance_tests && npm run test:acceptance:_run -- $@", "test:unit:run": "mocha --recursive --reporter spec $@ test/unit/js", "test:unit": "npm run compile:app && npm run compile:unit_tests && npm run test:unit:_run -- $@", @@ -17,7 +17,7 @@ "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", "nodemon": "nodemon --config nodemon.json", - "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js", + "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 $@ test/acceptance/js", "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js" }, "dependencies": {