From cdb7c18a2d92a6b0725c04f759c3a74224bf4f3d Mon Sep 17 00:00:00 2001 From: VariableVince <24507472+VariableVince@users.noreply.github.com> Date: Wed, 6 May 2026 17:47:47 +0200 Subject: [PATCH] Fix: CI Test failures because of too-long running test (#3861) ## Description: Set timeout to 30s instead of the default 5s for test "en.json keys stay in sync with source usage". It reads almost all files and therefor can take longer to complete its run, with the growing repository. This sometimes lead to error from vitest `Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout"`. A workaround was to re-run the test, sometimes it then ran fast enough to stay below the 5s timeout. But a more permanent fix is in this PR: set the timout to 30s specifically for this test. image ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: tryout33 Co-authored-by: Copilot --- tests/TranslationSystem.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TranslationSystem.test.ts b/tests/TranslationSystem.test.ts index b0de88f7d..eaa2f085c 100644 --- a/tests/TranslationSystem.test.ts +++ b/tests/TranslationSystem.test.ts @@ -620,5 +620,5 @@ describe("Translation System", () => { expect(missingKeys).toEqual([]); expect(unusedKeys).toEqual([]); - }); + }, 30000); });