From efe3151377aff4af57927538c5685275d640bd93 Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Sun, 18 Oct 2026 08:11:44 +0200 Subject: [PATCH] fix(#647): give the header-stats test app the input queue the constructor creates Its prototype-only app had no _pendingDeliveries and only passed because the removed try/catch swallowed the read. The real constructor always creates the Map. Co-Authored-By: Claude Opus 5.5 (1M context) --- test/header-stats-style.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/header-stats-style.test.ts b/test/header-stats-style.test.ts index 3c4c0a3e..41267cf0 100644 --- a/test/header-stats-style.test.ts +++ b/test/header-stats-style.test.ts @@ -69,6 +69,8 @@ beforeAll(async () => { function makeApp() { const app = Object.create(CodemanApp.prototype) as Record; app.$ = (id: string) => document.getElementById(id); + // The constructor always creates the input queue; _updateConnectionIndicator reads it. + app._pendingDeliveries = new Map(); return app; }