src/platform/testing/e2e/account-creation-helpers.js
Function initMHVTermsMocks
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initMHVTermsMocks(token, termsName = 'mhvac', bypass = true) {
mock(token, {
path: `/v0/terms_and_conditions/${termsName}/versions/latest`,
verb: 'get',
value: {