Source maps support for Istanbul code coverage toolkit, enabling accurate coverage reporting for transpiled JavaScript code
Overall
score
98%
{
"context": "This criteria evaluates how well the engineer uses istanbul-lib-source-maps to implement source map registration and retrieval functionality. The focus is on correctly utilizing the MapStore class and its methods for managing source maps.",
"type": "weighted_checklist",
"checklist": [
{
"name": "MapStore Creation",
"description": "Uses createSourceMapStore() or instantiates MapStore directly to create a source map store instance for managing source maps",
"max_score": 20
},
{
"name": "URL Registration",
"description": "Correctly uses mapStore.registerURL() method to register source maps by providing file paths and source map URLs",
"max_score": 20
},
{
"name": "Object Registration",
"description": "Correctly uses mapStore.registerMap() method to register pre-parsed source map objects for file paths",
"max_score": 20
},
{
"name": "Synchronous Retrieval",
"description": "Uses mapStore.getSourceMapSync() method to synchronously retrieve registered source maps for given file paths",
"max_score": 25
},
{
"name": "Undefined Handling",
"description": "Correctly handles the case when getSourceMapSync() returns undefined for files without registered source maps",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-istanbul-lib-source-mapsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10