Merge pull request #183 from overleaf/jpa-increase-unit-test-timeout

[misc] increase the timeout for unit tests -- CI boxes are too slow
This commit is contained in:
Jakob Ackermann 2020-08-25 11:41:53 +02:00 committed by GitHub
commit 6df23a9712

View file

@ -11,7 +11,7 @@
"start": "node $NODE_APP_OPTIONS app.js",
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
"test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
"test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
"test:unit:_run": "mocha --recursive --reporter spec --timeout 5000 $@ test/unit/js",
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
"nodemon": "nodemon --config nodemon.json",
"lint": "node_modules/.bin/eslint --max-warnings 0 .",