department-of-veterans-affairs/vets-website

View on GitHub
src/applications/representative-search/reducers/searchResult.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function SearchResultReducer has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const SearchResultReducer = (state = INITIAL_STATE, action) => {
  switch (action.type) {
    case FETCH_REPRESENTATIVES:
    case SEARCH_COMPLETE:
      return {
Severity: Major
Found in src/applications/representative-search/reducers/searchResult.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status