department-of-veterans-affairs/vets-website

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

Summary

Maintainability
A
2 hrs
Test Coverage

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

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

    There are no issues that match your filters.

    Category
    Status