test: verify dynamic import call with absolute path strings#49275
test: verify dynamic import call with absolute path strings#49275nodejs-github-bot merged 2 commits intonodejs:mainfrom
Conversation
|
This will never pass on Windows, this test can only pass if |
aduh95
left a comment
There was a problem hiding this comment.
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 <duhamelantoine1995@gmail.com>
|
Landed in 04a3567 |
PR-URL: nodejs#49275 Refs: nodejs#48655 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Add a test case that verifies that the dynamic import call can resolve absolute path strings without a scheme as the specifier.
Refs: #48655