aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/source-viewer/popups/coverage-popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/source-viewer/popups/coverage-popup.js')
-rw-r--r--server/sonar-web/src/main/js/components/source-viewer/popups/coverage-popup.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/server/sonar-web/src/main/js/components/source-viewer/popups/coverage-popup.js b/server/sonar-web/src/main/js/components/source-viewer/popups/coverage-popup.js
index 891ebca66e6..4f1918625eb 100644
--- a/server/sonar-web/src/main/js/components/source-viewer/popups/coverage-popup.js
+++ b/server/sonar-web/src/main/js/components/source-viewer/popups/coverage-popup.js
@@ -54,16 +54,7 @@ export default Popup.extend({
tests: testSet
};
});
- _.extend(row, {
- lineHits: row[this.options.tests + 'LineHits'],
- conditions: row[this.options.tests + 'Conditions'],
- coveredConditions: row[this.options.tests + 'CoveredConditions']
- });
- return {
- testFiles,
- row,
- tests: this.options.tests
- };
+ return { testFiles, row };
}
});