department-of-veterans-affairs/vets-website

View on GitHub
src/applications/personalization/dashboard/reducers/claims.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function claimsReducer has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

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

    There are no issues that match your filters.

    Category
    Status