Increase default mocha test timeout to avoid spurious CI failures

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
This commit is contained in:
Paulo Castro 2020-01-14 17:12:17 +00:00
parent 95843dd816
commit 3466be1992

View File

@ -50,7 +50,7 @@
"package": "npm run build:fast && npm run build:standalone && npm run build:installer", "package": "npm run build:fast && npm run build:standalone && npm run build:installer",
"release": "ts-node --type-check -P automation/tsconfig.json automation/run.ts release", "release": "ts-node --type-check -P automation/tsconfig.json automation/run.ts release",
"pretest": "npm run build", "pretest": "npm run build",
"test": "mocha -r ts-node/register \"tests/**/*.spec.ts\"", "test": "mocha --timeout 6000 -r ts-node/register \"tests/**/*.spec.ts\"",
"test:fast": "npm run build:fast && npm run test", "test:fast": "npm run build:fast && npm run test",
"ci": "npm run test && catch-uncommitted", "ci": "npm run test && catch-uncommitted",
"watch": "gulp watch", "watch": "gulp watch",