Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test for node:test, added in Node v18 #9

Closed
wants to merge 2 commits into from

Conversation

Skn0tt
Copy link

@Skn0tt Skn0tt commented Apr 21, 2022

In Node v18, a new module called node:test was added. Interestingly, it can only be imported via require("node:test"), not via require("test"):

I've added a failing reproduction test to reflect this new module. I suspect we might need upstream changes to builtin-modules, what's the best way to fix this?

@sindresorhus
Copy link
Owner

See nodejs/node#42785

@Skn0tt Skn0tt closed this Jul 19, 2022
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