Skip to content

Initial support for node:test#18140

Merged
Electroid merged 6 commits intomainfrom
node-test
Mar 19, 2025
Merged

Initial support for node:test#18140
Electroid merged 6 commits intomainfrom
node-test

Conversation

@Electroid
Copy link
Contributor

What does this PR do?

Adds initial support for the node:test module. Behind the scenes, it uses bun:test, so the test experience can be the same.

Most tests should just work, but there are missing features including:

How did you verify your code works?

Tests were added. This also unblocks about 19 Node.js tests, that previously failed.

@robobun
Copy link
Collaborator

robobun commented Mar 12, 2025

Updated 11:58 AM PT - Mar 19th, 2025

@Electroid, your commit 2e4139d has some failures in Build #13523


🧪   try this PR locally:

bunx bun-pr 18140

@Electroid Electroid force-pushed the node-test branch 2 times, most recently from e2d136c to e7ce6da Compare March 18, 2025 19:19
@Electroid Electroid merged commit 6e1f1c4 into main Mar 19, 2025
65 of 70 checks passed
@Electroid Electroid deleted the node-test branch March 19, 2025 18:49
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