From 05ae9d2bf065136950b271a0618e748944a82e3e Mon Sep 17 00:00:00 2001 From: arcward Date: Sat, 14 Sep 2024 13:51:56 -0400 Subject: [PATCH] Fixed a UI test --- frontend/src/App.test.tsx | 2 +- frontend/src/authContext.test.tsx | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/App.test.tsx b/frontend/src/App.test.tsx index be05471..8f26cf0 100644 --- a/frontend/src/App.test.tsx +++ b/frontend/src/App.test.tsx @@ -143,7 +143,7 @@ describe('App Component', () => { // debug(); expect(screen.getByText('Go to Users')).toBeInTheDocument(); - expect(screen.getByText('Go to Commands')).toBeInTheDocument(); + expect(screen.getByText('Go to Configure')).toBeInTheDocument(); }); diff --git a/frontend/src/authContext.test.tsx b/frontend/src/authContext.test.tsx index 652c799..b0dbfaf 100644 --- a/frontend/src/authContext.test.tsx +++ b/frontend/src/authContext.test.tsx @@ -36,13 +36,10 @@ describe('AuthProvider', () => { render( - - - ); });