Skip to content

test: add node:http pass-through tests - #7514

Closed
Abdel-Monaam-Aouini wants to merge 1 commit into
expressjs:masterfrom
Abdel-Monaam-Aouini:test/native-http-passthrough
Closed

Abdel-Monaam-Aouini wants to merge 1 commit into
expressjs:masterfrom
Abdel-Monaam-Aouini:test/native-http-passthrough

Conversation

@Abdel-Monaam-Aouini

Copy link
Copy Markdown
Contributor

Adds tests confirming that native node:http features keep working on Express req and res:

  • req: rawHeaders, headersDistinct, httpVersion
  • res: writeHead, appendHeader, hasHeader, getHeaderNames, flushHeaders, addTrailers, writeEarlyHints
  • app.listen() returns an http.Server

Test-only, no changes to lib/.

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.

1 participant