chromium/third_party/blink/web_tests/wpt_internal/import-maps/resources/parsing-schema-normalization.json

{
  "name": "Normalization",
  "importMapBaseURL": "https://base.example/",
  "tests": {
    "should normalize empty import maps to have imports and scopes keys": {
      "importMap": {},
      "expectedParsedImportMap": {
        "imports": {},
        "scopes": {},
        "integrity": {}
      }
    },
    "should normalize an import map without imports to have imports": {
      "importMap": {
        "scopes": {}
      },
      "expectedParsedImportMap": {
        "imports": {},
        "scopes": {},
        "integrity": {}
      }
    },
    "should normalize an import map without scopes to have scopes": {
      "importMap": {
        "imports": {}
      },
      "expectedParsedImportMap": {
        "imports": {},
        "scopes": {},
        "integrity": {}
      }
    }
  }
}