I removed .report.json file after it was talking about functions that didn’t exist in my code anymore and now the test framework is totally failing. The new report.json file looks like this no matter what I do:
{
"lints": [],
"coverage": {},
"coverageSummary": {
"lines": {
"total": 0,
"covered": 0,
"skipped": 0,
"pct": "Unknown"
},
"statements": {
"total": 0,
"covered": 0,
"skipped": 0,
"pct": "Unknown"
},
"functions": {
"total": 0,
"covered": 0,
"skipped": 0,
"pct": "Unknown"
},
"branches": {
"total": 0,
"covered": 0,
"skipped": 0,
"pct": "Unknown"
}
}
}
I am trying to achieve 80% coverage but this is blocking me from publishing my app. Or even packing it for internal tests.
btw:
I am using react + custom webpack for frontend and a simple serverless backend app.