Skip to content

test: cover NaN request highWaterMark - #77

Merged
ronag merged 1 commit into
nxtedition:masterfrom
ronag:codex/test-high-water-mark-nan-20260830
Aug 30, 2026
Merged

test: cover NaN request highWaterMark#77
ronag merged 1 commit into
nxtedition:masterfrom
ronag:codex/test-high-water-mark-nan-20260830

Conversation

@ronag

@ronag ronag commented Aug 30, 2026

Copy link
Copy Markdown
Member

Ports the missing regression assertion from nodejs/undici PR nodejs#5062.

The runtime Number.isFinite validation already exists in this fork. This PR adds the omitted Number.NaN callback case to the existing invalid highWaterMark matrix.

Validation so far:

  • focused client-errors file: 30/30 passing
  • ESLint and git diff check passing

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a missing regression assertion to the existing invalid highWaterMark test matrix to ensure highWaterMark: Number.NaN is rejected with the expected error, matching upstream coverage intent.

Changes:

  • Extends the invalid opts test to include a highWaterMark: Number.NaN request case.
  • Updates the tspl plan count to account for the additional assertions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ronag
ronag marked this pull request as ready for review August 30, 2026 06:47
@ronag
ronag merged commit c49c86e into nxtedition:master Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants