diff --git a/packages/canyon-backend/src/utils/coverage.ts b/packages/canyon-backend/src/utils/coverage.ts index d1548db1..8c0fcee2 100755 --- a/packages/canyon-backend/src/utils/coverage.ts +++ b/packages/canyon-backend/src/utils/coverage.ts @@ -162,6 +162,8 @@ const removeStartEndNull = (coverage) => { ...item, branchMap: newBranchMap, }; + } else { + obj[key] = item; } }); // fs.writeFileSync('./coverage.json', JSON.stringify(obj));