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; }