From c7b9dadd16d78af089a031582d0e18a513789edc Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Fri, 21 Aug 2020 12:45:30 +0100 Subject: [PATCH] [misc] increase the timeout for unit tests -- CI boxes are too slow --- services/real-time/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/real-time/package.json b/services/real-time/package.json index 144608eaae..4a7acfc1cd 100644 --- a/services/real-time/package.json +++ b/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 .",