Browse Source

[misc] increase the timeout for unit tests -- CI boxes are too slow

Jakob Ackermann 6 years ago
parent
commit
c7b9dadd16
1 changed files with 1 additions and 1 deletions
  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 .",