Source code
Revision control
Copy as Markdown
Other Tools
{
"name": "Mismatching the specifier map schema",
"tests": {
"should ignore entries where the address is not a string": {
"importMap": {
"imports": {
"null": null,
"boolean": true,
"number": 1,
"object": {},
"array": [],
"array2": [
],
}
},
"expectedParsedImportMap": {
"imports": {
"null": null,
"boolean": null,
"number": null,
"object": null,
"array": null,
"array2": null,
},
"scopes": {}
}
},
"should ignore entries where the specifier key is an empty string": {
"importMap": {
"imports": {
}
},
"expectedParsedImportMap": {
"imports": {},
"scopes": {}
}
}
}
}