From 825404037b5fc2e04ecb58071b8547895744ed41 Mon Sep 17 00:00:00 2001 From: Kevin Eady <8634912+KevinEady@users.noreply.github.com> Date: Tue, 22 Sep 2026 17:09:24 +0200 Subject: [PATCH] increase jest test timeout to 15 seconds --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d7906c9..cebe155 100644 --- a/package.json +++ b/package.json @@ -241,8 +241,8 @@ "build": "npm run grammar && tsc -b && cd native && npm run build", "clean": "rimraf client/out server/out grammars/escript.json", "e2e": "cd client && npm test", - "test": "jest --coverage --detectOpenHandles --runInBand", - "test-all": "cross-env JEST_RUN_LONG_TESTS=1 jest --coverage --detectOpenHandles --runInBand", + "test": "jest --coverage --detectOpenHandles --runInBand --testTimeout=15000", + "test-all": "cross-env JEST_RUN_LONG_TESTS=1 jest --coverage --detectOpenHandles --runInBand --testTimeout=15000", "grammar": "js-yaml grammars/escript.yml > grammars/escript.json && js-yaml grammars/cfg.yml > grammars/cfg.json && js-yaml grammars/codeblock.yml > grammars/codeblock.json && js-yaml grammars/doc.yml > grammars/doc.json", "eslint": "eslint" },