From 8186d7bde027fac8af273b71b55a2b5c8894a043 Mon Sep 17 00:00:00 2001 From: epeters-jrmndgndr Date: Wed, 14 Aug 2024 00:46:45 -0400 Subject: [PATCH] Demonstrate failing node test --- frontend/src/pages/HomePage.test.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/src/pages/HomePage.test.js b/frontend/src/pages/HomePage.test.js index a416228..9d8def1 100644 --- a/frontend/src/pages/HomePage.test.js +++ b/frontend/src/pages/HomePage.test.js @@ -57,3 +57,15 @@ test("Displays articles as buttons", async () => { const articleButton2 = screen.getByText(/Article 2/i); expect(articleButton2).toBeInTheDocument(); }); + +test("Fail a test and demonstrate CI pipeline", async () => { + render( + + + + ); + const messageElement = screen.getByText(/If you are seeing this page, you are in the wrong universe/i); + expect(messageElement).toBeInTheDocument(); + + +});