From f379a5747d9ff936e123ddba033a40c5dc0f1bc8 Mon Sep 17 00:00:00 2001 From: Jose Luis Garcia Ramos <11478086+joseluisgraa@users.noreply.github.com> Date: Thu, 9 Jan 2025 09:37:52 +0000 Subject: [PATCH] Updated test description --- src/server/check-answers/index.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/check-answers/index.test.js b/src/server/check-answers/index.test.js index f1e6d1bc..6b61a887 100644 --- a/src/server/check-answers/index.test.js +++ b/src/server/check-answers/index.test.js @@ -146,7 +146,7 @@ describe('#CheckAnswers', () => { expect(statusCode).toBe(statusCodes.ok) }) - it('Should not send email and display an error', async () => { + it('should not send an email on POST and display an error if a declaration is missing', async () => { const { payload, statusCode } = await server.inject( withCsrfProtection( {