department-of-veterans-affairs/vets-website

View on GitHub
src/applications/gi/reducers/nationalExams.js

Summary

Maintainability
A
1 hr
Test Coverage

Function nationalExamsReducer has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const nationalExamsReducer = (state = INITIAL_STATE, action) => {
  switch (action.type) {
    case FETCH_NATIONAL_EXAMS_STARTED:
      return { ...state, loading: true, error: null };

Severity: Minor
Found in src/applications/gi/reducers/nationalExams.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status