Skip to content

test: mv reply from tap#6089

Merged
Eomm merged 5 commits intofastify:mainfrom
jean-michelet:test/mvfromtap-reply
May 11, 2025
Merged

test: mv reply from tap#6089
Eomm merged 5 commits intofastify:mainfrom
jean-michelet:test/mvfromtap-reply

Conversation

@jean-michelet
Copy link
Copy Markdown
Member

No description provided.

@Eomm Eomm added the test Issue or pr related to our testing infrastructure. label Apr 30, 2025
@jean-michelet jean-michelet requested a review from Fdawgs May 1, 2025 14:40
@Fdawgs Fdawgs requested a review from Copilot May 2, 2025 07:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR migrates the testing framework from Tap to Node’s built-in test runner while updating assertion methods and teardown procedures.

  • Update import statements to use node:test
  • Replace Tap’s assertion methods with t.assert.* equivalents
  • Transition from t.teardown to t.after for closing Fastify instances

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
test/reply-trailers.test.js Migrated tests to node:test syntax and updated assertions and async handling
test/reply-error.test.js Updated error handling tests to use node:test, with adjustments to teardown and assertions

@Fdawgs
Copy link
Copy Markdown
Member

Fdawgs commented May 2, 2025

@jean-michelet best to request reviews from groups rather than individuals, for this repo you'd be looking for a review from core (@fastify/core).

@jean-michelet jean-michelet requested review from a team and removed request for Fdawgs May 2, 2025 07:09
@jean-michelet
Copy link
Copy Markdown
Member Author

jean-michelet commented May 2, 2025

Bystander effect

@Eomm Eomm merged commit 2635e25 into fastify:main May 11, 2025
25 checks passed
jean-michelet added a commit to jean-michelet/fastify that referenced this pull request May 13, 2025
@jean-michelet jean-michelet deleted the test/mvfromtap-reply branch September 25, 2025 07:47
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

test Issue or pr related to our testing infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants