(byDay: Map<string, number>)
| 472 | } |
| 473 | |
| 474 | const fill = (byDay: Map<string, number>): (number | null)[] => |
| 475 | spec.live ? densify(labels, byDay) : densifyCovered(labels, byDay, coveredThrough); |
| 476 | const datasets = [{ label: spec.labels[0], data: fill(a) }]; |
| 477 | if (spec.labels.length === 2) datasets.push({ label: spec.labels[1], data: fill(b) }); |
| 478 |
no test coverage detected