@canyonjs/report-component 0.0.10 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -414,7 +414,8 @@ function lineNumbers(lineNumber, linesState, _addLines) {
|
|
|
414
414
|
//#region src/widgets/CoverageDetail.tsx
|
|
415
415
|
const CoverageDetail = ({ source, coverage, diff }) => {
|
|
416
416
|
const addLines = diff.additions || [];
|
|
417
|
-
|
|
417
|
+
console.log(addLines, "addLines");
|
|
418
|
+
coverage = addLines.length > 0 ? changeModeFilterIrrelevantData(coverage, diff) : coverage;
|
|
418
419
|
const { lines } = coreFn(coverage, source);
|
|
419
420
|
const ref = useRef(null);
|
|
420
421
|
const hasChangedLines = addLines.length > 0 && coverage["s"] && coverage["statementMap"];
|