department-of-veterans-affairs/vets-website

View on GitHub
src/platform/testing/e2e/account-creation-helpers.js

Summary

Maintainability
A
1 hr
Test Coverage

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

function initMHVTermsMocks(token, termsName = 'mhvac', bypass = true) {
  mock(token, {
    path: `/v0/terms_and_conditions/${termsName}/versions/latest`,
    verb: 'get',
    value: {
Severity: Minor
Found in src/platform/testing/e2e/account-creation-helpers.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status