-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Labels
Milestone
Description
remap-istanbul/src/CoverageTransformer.js
Lines 142 to 143 in 03218fc
origFileName = rawSourceMap.file; | |
fileName = filePath.replace(path.extname(origFileName), path.extname(origSourceFilename)); |
rawSourceMap.file
is undefined in coverage:
{
"/path/to/app.vue": {
"_coverageSchema": "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c",
"b": {},
"branchMap": {},
"f": {},
"fnMap": {},
"hash": "45eccc5edb832ac9107a13add75c37148a2a42ab",
"inputSourceMap": {
"mappings": ";;;;;AAKA;AACA",
"names": [],
"sourceRoot": "vuex",
"sources": [
"app.vue"
],
"sourcesContent": [
"<template>\n <div></div>\n</template>\n<script>\n\nexport default {\n}\n</script>\n"
],
"version": 3
},
"path": "/Users/berton/workspace/awesome-practice-projects/vuex/app.vue",
"s": {},
"statementMap": {},
"l": {}
}
}