department-of-veterans-affairs/vets-website

View on GitHub
src/applications/find-forms/actions/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function fetchFormsThunk has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const fetchFormsThunk = (query, options = {}) => async dispatch => {
  // Derive options properties.
  const location = options?.location || window.location;
  const history = options?.history || window.history;
  const mockRequest = options?.mockRequest || false;
Severity: Minor
Found in src/applications/find-forms/actions/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status