department-of-veterans-affairs/vets-website

View on GitHub
src/applications/personalization/common/reducers/notifications.js

Summary

Maintainability
A
1 hr
Test Coverage

Function notificationsReducer has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const notificationsReducer = (state = initialState, action) => {
  switch (action.type) {
    case NOTIFICATIONS_RECEIVED_STARTED:
      return {
        ...state,
Severity: Minor
Found in src/applications/personalization/common/reducers/notifications.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status