Skip to main content
Module

x/importmap/testdata/parsing-addresses-invalid.json

Resolve specifiers with import maps.
Go to Latest
File
{ "name": "Other invalid addresses", "tests": { "should ignore unprefixed strings that are not absolute URLs": { "importMap": { "imports": { "foo1": "bar", "foo2": "\\bar", "foo3": "~bar", "foo4": "#bar", "foo5": "?bar" } }, "importMapBaseURL": "https://base.example/path1/path2/path3", "expectedParsedImportMap": { "imports": { "foo1": null, "foo2": null, "foo3": null, "foo4": null, "foo5": null }, "scopes": {} } } }}