hof 20.0.0-beta.32 → 20.0.0-beta.34

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":61833,"argv":["/usr/local/bin/node","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/mohameduwais/UKHomeOffice/govukupdate/hof","time":1663868046745,"ppid":61831,"coverageFilename":"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/.nyc_output/77e30dc7-406e-405d-8b08-2e95188904d2.json","externalId":"","uuid":"77e30dc7-406e-405d-8b08-2e95188904d2","files":["/Users/mohameduwais/UKHomeOffice/govukupdate/hof/model/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/address-lookup/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/address-lookup/default-model.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/address-lookup/defaults.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/clear-session/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/date/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/date/fields.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/email-service.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/emailer.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/transports/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/transports/smtp.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/transports/ses.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/transports/stub.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/transports/debug.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/summary/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/config/rate-limits.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/rate-limiter.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/config/hof-defaults.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/notify/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/notify/notify.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/base-controller.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/formatting/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/validation/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/validation/validators.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/validation/email.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/validation-error.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/autofill/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/autofill/inputs.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/test-data/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/countries.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/helpers/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/reqres/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/config/sanitisation-rules.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/formatting/formatters.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/behaviour-session.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/behaviour-hooks.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/controller.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-mixins/mixins/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-mixins/mixins/render.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-mixins/mixins/helpers.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/govuk-template/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/govuk-template/build/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/govuk-template/build/config.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-partials/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-partials/translations/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/themes/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/themes/gov-uk/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/assets/javascript/validation.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/cookies.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/errors.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/not-found.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/deep-translate.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/markdown.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/router.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/behaviours/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/behaviours/complete.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/util/constants.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/helpers.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/health.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/serve-static.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/ga-tag.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/sessions.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/settings.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/logger.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/build/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/config/builder-defaults.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/lib/compile.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/lib/build.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/lib/expand-dirs.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/lib/aggregate.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/lib/write-files.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/model/apis/index.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/model/apis/html-to-pdf-converter.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/model.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/back-links.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/util/helpers.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/check-complete.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/check-progress.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/check-session.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/csrf.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/apps/sandbox/fields.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/test/helpers/utilities.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/encryption.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/session.js","/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/session-model.js"]}
@@ -1 +1 @@
1
- {"processes":{"2a3841ae-7c9f-4701-a856-7659dd5b4791":{"parent":null,"children":[]}},"files":{"/Users/sarah-janeluff/Documents/SAS/hof/model/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/address-lookup/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/address-lookup/default-model.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/address-lookup/defaults.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/clear-session/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/date/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/date/fields.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/email-service.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/emailer.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/smtp.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/ses.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/stub.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/debug.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/summary/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/config/rate-limits.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/rate-limiter.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/config/hof-defaults.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/notify/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/components/notify/notify.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/base-controller.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/formatting/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/validation/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/validation/validators.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/validation/email.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/validation-error.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/autofill/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/autofill/inputs.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/test-data/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/countries.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/helpers/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/reqres/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/config/sanitisation-rules.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/formatting/formatters.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/behaviour-session.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/behaviour-hooks.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/controller.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/behaviours/country-select.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/template-mixins.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/render.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/helpers.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/govuk-template/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/govuk-template/build/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/govuk-template/build/config.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-partials/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-partials/translations/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/themes/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/themes/gov-uk/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/helpers.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/form-focus.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/validation.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/character-count.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/cookies.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/errors.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/not-found.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/deep-translate.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/markdown.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/router.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/behaviours/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/behaviours/complete.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/util/constants.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/helpers.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/health.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/serve-static.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/ga-tag.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/sessions.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/settings.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/logger.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/build/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/config/builder-defaults.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/compile.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/build.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/expand-dirs.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/aggregate.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/write-files.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/model/apis/index.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/model/apis/html-to-pdf-converter.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/model.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/back-links.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/util/helpers.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/check-complete.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/check-progress.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/check-session.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/csrf.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/fields.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/test/helpers/utilities.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/behaviours/international-number.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/encryption.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/session.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/session-model.js":["2a3841ae-7c9f-4701-a856-7659dd5b4791"]},"externalIds":{}}
1
+ {"processes":{"77e30dc7-406e-405d-8b08-2e95188904d2":{"parent":null,"children":[]}},"files":{"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/model/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/address-lookup/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/address-lookup/default-model.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/address-lookup/defaults.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/clear-session/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/date/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/date/fields.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/email-service.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/emailer.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/transports/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/transports/smtp.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/transports/ses.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/transports/stub.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/emailer/transports/debug.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/summary/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/config/rate-limits.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/rate-limiter.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/config/hof-defaults.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/notify/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/components/notify/notify.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/base-controller.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/formatting/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/validation/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/validation/validators.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/validation/email.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/validation-error.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/autofill/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/autofill/inputs.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/test-data/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/countries.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/helpers/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/utilities/reqres/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/config/sanitisation-rules.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/formatting/formatters.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/behaviour-session.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/behaviour-hooks.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/controller/controller.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/apps/sandbox/behaviours/country-select.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-mixins/mixins/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-mixins/mixins/template-mixins.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-mixins/mixins/render.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-mixins/mixins/helpers.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/govuk-template/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/govuk-template/build/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/govuk-template/build/config.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-partials/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/template-partials/translations/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/themes/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/themes/gov-uk/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/assets/javascript/helpers.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/assets/javascript/form-focus.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/assets/javascript/validation.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/frontend/toolkit/assets/javascript/character-count.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/cookies.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/errors.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/not-found.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/middleware/deep-translate.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/markdown.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/router.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/behaviours/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/behaviours/complete.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/util/constants.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/helpers.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/health.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/serve-static.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/ga-tag.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/sessions.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/settings.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/logger.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/build/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/config/builder-defaults.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/lib/compile.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/lib/build.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/lib/expand-dirs.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/lib/aggregate.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/transpiler/lib/write-files.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/model/apis/index.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/model/apis/html-to-pdf-converter.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/model.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/back-links.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/util/helpers.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/check-complete.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/check-progress.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/check-session.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/csrf.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/apps/sandbox/fields.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/test/helpers/utilities.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/sandbox/apps/sandbox/behaviours/international-number.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/lib/encryption.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/session.js":["77e30dc7-406e-405d-8b08-2e95188904d2"],"/Users/mohameduwais/UKHomeOffice/govukupdate/hof/wizard/middleware/session-model.js":["77e30dc7-406e-405d-8b08-2e95188904d2"]},"externalIds":{}}
@@ -44,9 +44,9 @@
44
44
  {{/gaTagId}}
45
45
  {{/cookieMessage}}
46
46
  {{$footerSupportLinks}}
47
- <ul>
47
+ <ul class="govuk-footer__inline-list">
48
48
  {{#footerSupportLinks}}
49
- <li class="govuk-footer__inline-list-item"><a href="{{path}}">{{#t}}{{property}}{{/t}}</a></li>
49
+ <li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="{{path}}">{{#t}}{{property}}{{/t}}</a></li>
50
50
  {{/footerSupportLinks}}
51
51
  {{^footerSupportLinks}}
52
52
  <li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/cookies">{{#t}}base.cookies{{/t}}</a></li>
@@ -5,10 +5,10 @@
5
5
  <dt class="confirm-label">{{label}}</dt>
6
6
  <dd class="confirm-value" data-value="{{value}}">{{value}}</dd>
7
7
  {{#changeLink}}
8
- <dd><span class="link"><a href="{{changeLink}}" id="{{field}}-change-{{index}}">{{#t}}buttons.change{{/t}} <span class="visuallyhidden">{{changeLinkDescription}} from {{value}}</span></a></span></dd>
8
+ <dd><span><a class="govuk-link" href="{{changeLink}}" id="{{field}}-change-{{index}}">{{#t}}buttons.change{{/t}} <span class="visuallyhidden">{{changeLinkDescription}} from {{value}}</span></a></span></dd>
9
9
  {{/changeLink}}
10
10
  {{^changeLink}}
11
- <dd><span class="link"><a href="{{baseUrl}}{{step}}/edit#{{field}}" id="{{field}}-change">{{#t}}buttons.change{{/t}} <span class="visuallyhidden">{{changeLinkDescription}} from {{value}}</span></a></span></dd>
11
+ <dd><span><a class="govuk-link" href="{{baseUrl}}{{step}}/edit#{{field}}" id="{{field}}-change">{{#t}}buttons.change{{/t}} <span class="visuallyhidden">{{changeLinkDescription}} from {{value}}</span></a></span></dd>
12
12
  {{/changeLink}}
13
13
  {{/isSeparator}}
14
14
  </div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "20.0.0-beta.32",
4
+ "version": "20.0.0-beta.34",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -28,6 +28,41 @@ module.exports = (route, controller, steps, begin) => {
28
28
  return _.uniq(allSteps);
29
29
  };
30
30
 
31
+ // Gets all the possible routes
32
+ const walkAllPossibleSteps = (stepName, allStepsInService, allVisitedSteps) => {
33
+ const stepIncludingFieldsAndForks = allStepsInService[stepName];
34
+ if (!stepIncludingFieldsAndForks) { return; }
35
+
36
+ const forkTargets = _.map(stepIncludingFieldsAndForks.forks, 'target') || [];
37
+ const nextStep = stepIncludingFieldsAndForks.next || '';
38
+
39
+ // If there is no next step or fork, then we have reached the end of the journey
40
+ if (!forkTargets.length && !nextStep) {
41
+ allVisitedSteps.push(stepName);
42
+ // eslint-disable-next-line consistent-return
43
+ return _.uniq(allVisitedSteps);
44
+ }
45
+
46
+ const nextStepsAndForks = _.uniq(forkTargets.concat(nextStep));
47
+
48
+ // We need to transverse through all 'Next' and 'Forks' for this route
49
+ nextStepsAndForks.map(each => {
50
+ if (!allVisitedSteps.includes(each)) {
51
+ allVisitedSteps.push(each);
52
+ walkAllPossibleSteps(each, allStepsInService, allVisitedSteps);
53
+ }
54
+ });
55
+ };
56
+
57
+ // Create a list of all visited steps
58
+ const createAllVisitedSteps = (stepName, allStepsInService) => {
59
+ const allVisitedSteps = [stepName];
60
+ if (allStepsInService[stepName]) {
61
+ walkAllPossibleSteps(stepName, allStepsInService, allVisitedSteps);
62
+ }
63
+ return _.uniq(allVisitedSteps);
64
+ };
65
+
31
66
  const invalidateStep = (stepName, scopedSteps, sessionModel) => {
32
67
  debug('Invalidating', stepName);
33
68
  const step = scopedSteps[stepName] || {};
@@ -55,7 +90,7 @@ module.exports = (route, controller, steps, begin) => {
55
90
  debug('next', nextStep);
56
91
  debug('potential paths', potentialPaths);
57
92
  // if we're following a loop then allow the loop to be invalidated
58
- const whitelist = isLoop(nextStep, req.path) ? [route] : getAllPossibleSteps(nextStep, steps);
93
+ const whitelist = isLoop(nextStep, req.path) ? [route] : createAllVisitedSteps(nextStep, steps);
59
94
  // aggregate all potential journeys from the invalidating step
60
95
  const invalidateSteps = potentialPaths.reduce((arr, step) => arr.concat(getAllPossibleSteps(step, steps)), []);
61
96