Skip to content
Snippets Groups Projects

Sort code coverage graph by dates

Merged Frédéric Caplette requested to merge sort-code-coverage-graph-by-dates into master
All threads resolved!
@@ -70,8 +70,6 @@ export default {
return [];
}
// The data is returned descending order of dates for the CSV.
// so we sort them by ascending order fo the graph
return [...this.selectedDailyCoverage.data].sort(
(a, b) => new Date(a.date) - new Date(b.date),
);
Loading