All files / app/codeCharta/state/selectors/accumulatedData/metricData metricNames.selector.ts

100% Statements 5/5
100% Branches 0/0
100% Functions 2/2
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 583x 83x   83x  
import { createSelector } from "@ngrx/store"
import { metricDataSelector } from "./metricData.selector"
 
export const metricNamesSelector = createSelector(metricDataSelector, metricData => metricData.edgeMetricData.map(x => x.name))