department-of-veterans-affairs/vets-website

View on GitHub
src/applications/hca/reducers/enrollment-status.js

Summary

Maintainability
A
1 hr
Test Coverage

Function enrollmentStatus has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function enrollmentStatus(state = ENROLLMENT_STATUS_INIT_STATE, action) {
  const { response = {}, type } = action;
  const {
    FETCH_ENROLLMENT_STATUS_STARTED,
    FETCH_ENROLLMENT_STATUS_SUCCEEDED,
Severity: Minor
Found in src/applications/hca/reducers/enrollment-status.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status