Просмотр исходного кода

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

[misc] increase the timeout for unit tests -- CI boxes are too slow
Jakob Ackermann 6 лет назад
Родитель
Сommit
6df23a9712
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/real-time/package.json

+ 1 - 1
services/real-time/package.json

@@ -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 .",