department-of-veterans-affairs/vets-website

View on GitHub
src/applications/claims-status/reducers/claimsV2.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function claimsV2Reducer has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function claimsV2Reducer(state = initialState, action) {
  switch (action.type) {
    case FETCH_CLAIMS_PENDING:
      return set('claimsLoading', true, state);
    case FETCH_CLAIMS_SUCCESS:
Severity: Major
Found in src/applications/claims-status/reducers/claimsV2.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status