From 781f02c0496a15cfa5308c87b85cb5958eb15f64 Mon Sep 17 00:00:00 2001 From: Jason Claxton Date: Fri, 24 Jan 2025 20:54:13 +0000 Subject: [PATCH] Fix broken test --- app/views/return-logs/setup/check.njk | 4 ++-- test/services/return-logs/setup/check.service.test.js | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/app/views/return-logs/setup/check.njk b/app/views/return-logs/setup/check.njk index e2d31e1948..69328909c5 100644 --- a/app/views/return-logs/setup/check.njk +++ b/app/views/return-logs/setup/check.njk @@ -22,12 +22,12 @@ {% for action in note.actions %}
  • - {{ action.text }} the note + {{ action.text }} the note
  • {% endfor %} - +
    diff --git a/test/services/return-logs/setup/check.service.test.js b/test/services/return-logs/setup/check.service.test.js index c305dd2d70..75a2479b17 100644 --- a/test/services/return-logs/setup/check.service.test.js +++ b/test/services/return-logs/setup/check.service.test.js @@ -27,6 +27,15 @@ describe('Return Logs Setup - Check service', () => { expect(result).to.equal({ activeNavBar: 'search', + note: { + actions: [ + { + href: 'note', + text: 'Add a note' + } + ], + text: 'No notes added' + }, pageTitle: 'Check details and enter new volumes or readings', returnReference: '1234', sessionId