department-of-veterans-affairs/vets-website

View on GitHub
src/platform/forms/save-in-progress/helpers.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createRoutesWithSaveInProgress has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function createRoutesWithSaveInProgress(formConfig) {
  const protectedRoutes = new Set([
    'introduction',
    'review-and-submit',
    'confirmation',
Severity: Minor
Found in src/platform/forms/save-in-progress/helpers.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status