-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
node:test
test
should be element of builtinModules
#47465
Comments
node:test
test
should be element of builtinModules
node:test
test
should be element of builtinModules()
node:test
test
should be element of builtinModules()
node:test
test
should be element of builtinModules
My outdated thoughtsEmm, after
Or, I thinks providing https://nodejs.org/api/module.html#moduleisbuiltinmodulename |
Problem solved.
> nodeModule.isBuiltin('node:test')
true |
Version
v18.15.0
Platform
archlinux
Subsystem
No response
What steps will reproduce the bug?
No response
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
What do you see instead?
Additional information
https://github.com/sindresorhus/is-builtin-module/blob/2b22980d890cd656419106e2d2cca5696453bd7f/index.js#L2
https://github.com/sindresorhus/builtin-modules/blob/0d234f3ad3965c57d8cc5b9ca198c505fe032452/index.js#L2
The text was updated successfully, but these errors were encountered: