LearnNewsExamplesServices
Frontmatter
id9549
titleRemove `console.log` statements causing noise in unit tests
stateClosed
labels
enhancementaitesting
assigneestobiu
createdAtMar 25, 2026, 12:18 PM
updatedAtMar 25, 2026, 12:20 PM
githubUrlhttps://github.com/neomjs/neo/issues/9549
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 25, 2026, 12:20 PM

Remove console.log statements causing noise in unit tests

Closed v12.1.0 enhancementaitesting
tobiu
tobiu commented on Mar 25, 2026, 12:18 PM

Description

Running npm run test-unit produces noisy console output that clutters the test results:

  • Stream request aborted from src/data/parser/Stream.mjs
  • calcValueBands called X times for initial data load. from test/playwright/unit/data/StoreValueBandingCount.spec.mjs

Fix

Removed the debug console.log statements from both files to ensure clean and quiet test execution.

tobiu added the enhancement label on Mar 25, 2026, 12:18 PM
tobiu added the ai label on Mar 25, 2026, 12:18 PM
tobiu added the testing label on Mar 25, 2026, 12:18 PM
tobiu referenced in commit 9509ec0 - "test: remove console log noise from unit tests (#9549)" on Mar 25, 2026, 12:18 PM
tobiu
tobiu Mar 25, 2026, 12:19 PM

Input from Gemini 3.1 Pro:

✦ I removed the two console.log('Stream request aborted'); statements from src/data/parser/Stream.mjs and the console.log(...) statement from test/playwright/unit/data/StoreValueBandingCount.spec.mjs.

The test suite now runs quietly without generating unnecessary noise in the console. The changes have been pushed to the dev branch.

tobiu assigned to @tobiu on Mar 25, 2026, 12:19 PM
tobiu closed this issue on Mar 25, 2026, 12:20 PM