department-of-veterans-affairs/vets-website

View on GitHub
src/applications/edu-benefits/10203/helpers.jsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function updateProgramDetailsSchema has 78 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function updateProgramDetailsSchema() {
  const usaStates = states.USA.map(state => state.value);
  const usaLabels = states.USA.map(state => state.label);
  const canProvinces = states.CAN.map(state => state.value);
  const canLabels = states.CAN.map(state => state.label);
Severity: Major
Found in src/applications/edu-benefits/10203/helpers.jsx - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status