From f52664a3a3b4a72b887e1985deeb3a451afefbcd Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Tue, 1 Mar 2022 20:42:03 +0100 Subject: [PATCH] Increase nodejs mocha timeout to 5000ms to align with Electron and browser unit tests (#142545) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c5dcb7c07eb..8f28f24a2d1 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "test": "echo Please run any of the test scripts from the scripts folder.", "test-browser": "npx playwright install && node test/unit/browser/index.js", "test-browser-no-install": "node test/unit/browser/index.js", - "test-node": "mocha test/unit/node/index.js --delay --ui=tdd --exit", + "test-node": "mocha test/unit/node/index.js --delay --ui=tdd --timeout=5000 --exit", "preinstall": "node build/npm/preinstall.js", "postinstall": "node build/npm/postinstall.js", "compile": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js compile",