-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
test: verify dynamic import call with absolute path strings #49275
test: verify dynamic import call with absolute path strings #49275
Conversation
This will never pass on Windows, this test can only pass if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed the fact that the test is in a conditional that exclude Windows. Still I'm -1 to the added test, paths are not and never will be supported a referrer, it has to be a URL.
This adds a test to verify a specifier can be a string with a leading slash. The referrer is still the URL of the current module.
The document mentioned that the volume root may be referenced as |
Co-authored-by: Antoine du Hamel <[email protected]>
Landed in 04a3567 |
PR-URL: #49275 Refs: #48655 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: nodejs#49275 Refs: nodejs#48655 Reviewed-By: Antoine du Hamel <[email protected]>
Add a test case that verifies that the dynamic import call can resolve absolute path strings without a scheme as the specifier.
Refs: #48655