From 30e136733ac0e7eeebdcdef957590227107bf3f5 Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Sun, 30 Aug 2026 04:45:09 +0300 Subject: [PATCH] tests: a hung test now fails instead of hanging forever `node --test` has no timeout by default. Two revert-checks left runs wedged on session.test.js for forty minutes with no output and no way to tell from the outside whether they were working or stuck. --- app/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/package.json b/app/package.json index 40cf982c..27c4ffcc 100644 --- a/app/package.json +++ b/app/package.json @@ -4,7 +4,7 @@ "type": "module", "description": "Dev-only. Users never run npm: the app is served as plain ES modules with no build step.", "scripts": { - "test": "node --test", + "test": "node --test --test-timeout=30000", "test:layout": "playwright test", "test:all": "npm test && npm run test:layout" },