From 12761802cfd1817ad3746cf1ce078099589b5e5f Mon Sep 17 00:00:00 2001 From: Phill Pover Date: Thu, 27 Mar 2025 12:38:28 +0000 Subject: [PATCH] Fixing jest build --- frontend/package.json | 2 +- frontend/src/App.test.tsx | 2 +- frontend/src/App.tsx | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index d477da6..20c9515 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -47,5 +47,5 @@ "moduleNameMapper": { "^axios$": "axios/dist/node/axios.cjs" } - }, + } } diff --git a/frontend/src/App.test.tsx b/frontend/src/App.test.tsx index fe92c0a..a63bc9a 100644 --- a/frontend/src/App.test.tsx +++ b/frontend/src/App.test.tsx @@ -5,6 +5,6 @@ import App from './App'; test('renders learn react link', () => { render(); - const linkElement = screen.getByText(/learn react/i); + const linkElement = screen.getByText(/React is working/i); expect(linkElement).toBeInTheDocument(); }); diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 39b9833..1ae830d 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -20,6 +20,7 @@ function App() {
logo +

React is working

{message}