All files / app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util getMetricThresholds.ts

100% Statements 3/3
100% Branches 2/2
100% Functions 1/1
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 5 66x   6x 33x    
import { metricThresholdsByLanguage } from "./artificialIntelligence.metricThresholds"
 
export function getAssociatedMetricThresholds(programmingLanguage: string) {
    return programmingLanguage === "java" ? metricThresholdsByLanguage.java : metricThresholdsByLanguage.miscellaneous
}