Source code
Revision control
Copy as Markdown
Other Tools
{
"importMap": {
"imports": {
"/lib/foo.mjs": "./more/bar.mjs",
"./dotrelative/foo.mjs": "/lib/dot.mjs",
"../dotdotrelative/foo.mjs": "/lib/dotdot.mjs",
"/": "/lib/slash-only/",
"./": "/lib/dotslash-only/",
"/test/": "/lib/url-trailing-slash/",
"./test/": "/lib/url-trailing-slash-dot/",
"/test": "/lib/test1.mjs",
"../test": "/lib/test2.mjs"
}
},
"name": "URL-like specifiers",
"tests": {
"Ordinary URL-like specifiers": {
"expectedResults": {
}
},
"Import map entries just composed from / and .": {
"expectedResults": {
}
},
"prefix-matched by keys with trailing slashes": {
"expectedResults": {
}
},
"should use the last entry's address when URL-like specifiers parse to the same absolute URL": {
"expectedResults": {
}
},
"backtracking (relative URLs)": {
"expectedResults": {
}
},
"backtracking (absolute URLs)": {
"expectedResults": {
}
}
}
}