From e617acfc7962d433b5bf89945af4014352dc6395 Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Tue, 23 Jun 2026 17:58:39 +0000 Subject: [PATCH] test(#4748): stub _recordSessionProfileCount in the #4766 node harness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #4748 added a _recordSessionProfileCount() call inside _applySessionListPayload(); the pre-existing #4766 test isolates that function in node and must stub the new helper (same pattern as the other stubbed helpers) or it ReferenceErrors. Not a weakened assertion — the test still verifies old+new payload tab-count coverage. --- tests/test_issue4766_sidebar_source_pushdown.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_issue4766_sidebar_source_pushdown.py b/tests/test_issue4766_sidebar_source_pushdown.py index 8cb45723..182708c5 100644 --- a/tests/test_issue4766_sidebar_source_pushdown.py +++ b/tests/test_issue4766_sidebar_source_pushdown.py @@ -358,6 +358,7 @@ global._mergeOptimisticFirstTurnSessions = rows => rows; global._syncSessionAttentionSoundState = () => {{}}; global._pruneLineageReportCacheToVisibleSessions = () => {{}}; global._markPollingCompletionUnreadTransitions = () => {{}}; +global._recordSessionProfileCount = () => {{}}; global._isSessionEffectivelyStreaming = () => false; global.startStreamingPoll = () => {{}}; global.stopStreamingPoll = () => {{}};