Skip to content

Commit

Permalink
feat(app): remove redundant comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Demwunz committed May 15, 2024
1 parent c06f337 commit 79329a8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
* Formats data for the `/return-requirements/{sessionId}/additional-submission-options` page
*
* @param {module:SessionModel} session - The returns requirements session instance
* @param {string} requirementIndex - The index of the requirement being added or changed
* @param {Object} [payload] - The payload from the request
*
* @returns {Object} - The data formatted for the view template
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const SessionModel = require('../../models/session.model.js')
*
* @param {string} sessionId - The id of the current session
* @param {Object} payload - The submitted form data
* @param {string} requirementIndex - The index of the requirement being added or changed
* @param {Object} yar - The Hapi `request.yar` session manager passed on by the controller
*
* @returns {Promise<Object>} If no errors it returns an empty object else the page data for the note page including the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ describe('Return Requirements - Submit Additional Submission Options service', (

expect(result).to.equal({
activeNavBar: 'search',
backLink: `/system/return-requirements/${session.id}/check`,
pageTitle: 'Select any additional submission options for the return requirements',
licenceRef: '01/ABC',
additionalSubmissionOptions: [undefined]
Expand Down

0 comments on commit 79329a8

Please sign in to comment.