From 9a4cf8071e6aeee8baf5b4b054f4297a27e4f939 Mon Sep 17 00:00:00 2001 From: Stef Piatek Date: Mon, 14 Nov 2022 14:46:00 +0000 Subject: [PATCH] Update documentation of tests --- src/components/reports/ReportForm.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/reports/ReportForm.test.tsx b/src/components/reports/ReportForm.test.tsx index deb84c0..71e2ec0 100644 --- a/src/components/reports/ReportForm.test.tsx +++ b/src/components/reports/ReportForm.test.tsx @@ -191,7 +191,7 @@ describe("Report form", () => { /** * Given the report form * When all data filled in - * Then the rendered result should be rendered in an alert box + * Then the user should be redirected and no errors should be found */ test("Report with variant", async () => { // Arrange @@ -217,7 +217,7 @@ describe("Report form", () => { /** * Given the report form * When all data filled in except for having no variant - * Then the rendered result should be rendered in an alert box + * Then the user should be redirected and no errors should be found */ test("Report without variant", async () => { // Arrange