department-of-veterans-affairs/vets-website

View on GitHub
src/applications/personalization/profile/reducers/hcaEnrollmentStatus.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function hcaEnrollmentStatus has 83 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function hcaEnrollmentStatus(state = initialState, action) {
  const { data = {}, response = {}, type } = action;
  const {
    FETCH_ENROLLMENT_STATUS_STARTED,
    FETCH_ENROLLMENT_STATUS_SUCCEEDED,

    There are no issues that match your filters.

    Category
    Status