mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: verify dynamic import call with absolute path strings
PR-URL: https://github.com/nodejs/node/pull/49275 Refs: https://github.com/nodejs/node/pull/48655 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
e5f3a694cf
commit
6740f3c209
1 file changed
+3
@@ -66,4 +66,7 @@ function expectFsNamespace(result) {
|
||||
'ERR_UNSUPPORTED_ESM_URL_SCHEME',
|
||||
msg);
|
||||
}
|
||||
// If the specifier is an origin-relative URL, it should
|
||||
// be treated as a file: URL.
|
||||
expectOkNamespace(import(targetURL.pathname));
|
||||
})();
|
||||
Reference in new issue
Block a user