department-of-veterans-affairs/vets-website

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

Summary

Maintainability
A
1 hr
Test Coverage

Function debtsReducer has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const debtsReducer = (state = initialState, action) => {
  switch (action.type) {
    case DEBTS_FETCH_INITIATED || COPAYS_FETCH_INITIATED:
      return {
        ...state,
Severity: Minor
Found in src/applications/personalization/dashboard/reducers/debts.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status