We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9a182c commit 04a3567Copy full SHA for 04a3567
test/es-module/test-esm-dynamic-import.js
@@ -66,4 +66,7 @@ function expectFsNamespace(result) {
66
'ERR_UNSUPPORTED_ESM_URL_SCHEME',
67
msg);
68
}
69
+ // If the specifier is an origin-relative URL, it should
70
+ // be treated as a file: URL.
71
+ expectOkNamespace(import(targetURL.pathname));
72
})();
0 commit comments