tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

overlapping-entries.json (665B)


      1 {
      2  "importMapBaseURL": "https://example.com/app/index.html",
      3  "baseURL": "https://example.com/js/app.mjs",
      4  "name": "should favor the most-specific key",
      5  "tests": {
      6    "Overlapping entries with trailing slashes": {
      7      "importMap": {
      8        "imports": {
      9          "a": "/1",
     10          "a/": "/2/",
     11          "a/b": "/3",
     12          "a/b/": "/4/"
     13        }
     14      },
     15      "expectedResults": {
     16        "a": "https://example.com/1",
     17        "a/": "https://example.com/2/",
     18        "a/x": "https://example.com/2/x",
     19        "a/b": "https://example.com/3",
     20        "a/b/": "https://example.com/4/",
     21        "a/b/c": "https://example.com/4/c"
     22      }
     23    }
     24  }
     25 }