From 1526f76686a32d56c3f21d84685169480c693eac Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Tue, 28 Jun 2022 16:47:46 +0200 Subject: [PATCH] test(crypto-nodejs): Increase timeout. For some unknown reasons, sometimes, randomly, one test (initializing an `OlmMachine` with a local store with a passphrase) can take more than 5s, only on Github Actions. Let's increase the test timeout value so that the entire test suite doesn't fail. --- bindings/matrix-sdk-crypto-nodejs/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/matrix-sdk-crypto-nodejs/package.json b/bindings/matrix-sdk-crypto-nodejs/package.json index 4ed85aaf3..935e3766d 100644 --- a/bindings/matrix-sdk-crypto-nodejs/package.json +++ b/bindings/matrix-sdk-crypto-nodejs/package.json @@ -22,7 +22,7 @@ }, "scripts": { "build": "napi build --platform --release --strip", - "test": "jest --verbose", + "test": "jest --verbose --testTimeout 10000", "doc": "typedoc --tsconfig ." } }