From d18f25cb9c1e4c58d498f557b5b6bb75988ad4d2 Mon Sep 17 00:00:00 2001 From: Paulo Castro Date: Mon, 3 Aug 2020 16:51:18 +0100 Subject: [PATCH] Testing: Increase mocha timeout from 6s to 12s (experimental) Change-type: patch --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ab8ce852..72605a9d 100644 --- a/package.json +++ b/package.json @@ -57,11 +57,11 @@ "release": "ts-node --transpile-only automation/run.ts release", "pretest": "npm run build", "test": "npm run test:source && npm run test:standalone", - "test:source": "cross-env BALENA_CLI_TEST_TYPE=source mocha --timeout 6000 -r ts-node/register/transpile-only \"tests/**/*.spec.ts\"", + "test:source": "cross-env BALENA_CLI_TEST_TYPE=source mocha --timeout 12000 -r ts-node/register/transpile-only \"tests/**/*.spec.ts\"", "test:standalone": "npm run build:standalone && npm run test:standalone:fast", - "test:standalone:fast": "cross-env BALENA_CLI_TEST_TYPE=standalone mocha --timeout 6000 -r ts-node/register/transpile-only \"tests/**/*.spec.ts\"", + "test:standalone:fast": "cross-env BALENA_CLI_TEST_TYPE=standalone mocha --timeout 12000 -r ts-node/register/transpile-only \"tests/**/*.spec.ts\"", "test:fast": "npm run build:fast && npm run test:source", - "test:only": "npm run build:fast && cross-env BALENA_CLI_TEST_TYPE=source mocha --timeout 6000 -r ts-node/register/transpile-only \"tests/**/${npm_config_test}.spec.ts\"", + "test:only": "npm run build:fast && cross-env BALENA_CLI_TEST_TYPE=source mocha --timeout 12000 -r ts-node/register/transpile-only \"tests/**/${npm_config_test}.spec.ts\"", "catch-uncommitted": "ts-node --transpile-only automation/run.ts catch-uncommitted", "ci": "npm run test && npm run catch-uncommitted", "watch": "gulp watch",