tor-browser

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

parsing-schema-normalization.json (720B)


      1 {
      2  "name": "Normalization",
      3  "importMapBaseURL": "https://base.example/",
      4  "tests": {
      5    "should normalize empty import maps to have imports and scopes keys": {
      6      "importMap": {},
      7      "expectedParsedImportMap": {
      8        "imports": {},
      9        "scopes": {}
     10      }
     11    },
     12    "should normalize an import map without imports to have imports": {
     13      "importMap": {
     14        "scopes": {}
     15      },
     16      "expectedParsedImportMap": {
     17        "imports": {},
     18        "scopes": {}
     19      }
     20    },
     21    "should normalize an import map without scopes to have scopes": {
     22      "importMap": {
     23        "imports": {}
     24      },
     25      "expectedParsedImportMap": {
     26        "imports": {},
     27        "scopes": {}
     28      }
     29    }
     30  }
     31 }