From 6cfa9960a5f06bda951eb6b2b268e64c0ece1264 Mon Sep 17 00:00:00 2001 From: Ondra Chaloupka Date: Fri, 3 Nov 2023 08:38:29 +0100 Subject: [PATCH] [test] increasing timeout for unit tests they can be connecting to testnet network which may cause delays bigger to 5sec --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5d290af..68cc138 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "prepare": "husky install", "pretest": "pnpm lint", "test": "pnpm test:unit", - "test:unit": "jest --roots '/src'", + "test:unit": "jest --testTimeout 20000 --roots '/src'", "test:integration": "anchor test", "_test:integration": "jest --testTimeout 90000 --runInBand --globalSetup '/test/setup/globalSetup.ts' --roots '/test' -- $FILE", "lint": "gts lint",