From cd028a23b03de2a34aa36df800bc642432639482 Mon Sep 17 00:00:00 2001 From: Nicholas Lee Date: Fri, 13 Oct 2023 09:51:59 -0400 Subject: [PATCH] fix: fixed failing tests --- .../src/components/Navbar/NavDrawer/NavDrawer.spec.tsx | 4 ++-- .../src/components/Navbar/NavToolbar/NavToolbar.spec.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compose/neurosynth-frontend/src/components/Navbar/NavDrawer/NavDrawer.spec.tsx b/compose/neurosynth-frontend/src/components/Navbar/NavDrawer/NavDrawer.spec.tsx index 4215432af..db5229ca2 100644 --- a/compose/neurosynth-frontend/src/components/Navbar/NavDrawer/NavDrawer.spec.tsx +++ b/compose/neurosynth-frontend/src/components/Navbar/NavDrawer/NavDrawer.spec.tsx @@ -52,7 +52,7 @@ describe('NavDrawer component', () => { expect(screen.queryByText('LOGOUT')).not.toBeInTheDocument(); expect(screen.queryByText('EXPLORE')).toBeInTheDocument(); - expect(screen.queryByText('HELP')).toBeInTheDocument(); + expect(screen.queryByText('DOCS')).toBeInTheDocument(); expect(screen.queryByText('SIGN IN/SIGN UP')).toBeInTheDocument(); }); @@ -73,7 +73,7 @@ describe('NavDrawer component', () => { expect(screen.queryByText('MY PROJECTS')).toBeInTheDocument(); expect(screen.queryByText('LOGOUT')).toBeInTheDocument(); expect(screen.queryByText('EXPLORE')).toBeInTheDocument(); - expect(screen.queryByText('HELP')).toBeInTheDocument(); + expect(screen.queryByText('DOCS')).toBeInTheDocument(); }); it('should login', () => { diff --git a/compose/neurosynth-frontend/src/components/Navbar/NavToolbar/NavToolbar.spec.tsx b/compose/neurosynth-frontend/src/components/Navbar/NavToolbar/NavToolbar.spec.tsx index 7340436b9..4e39e1173 100644 --- a/compose/neurosynth-frontend/src/components/Navbar/NavToolbar/NavToolbar.spec.tsx +++ b/compose/neurosynth-frontend/src/components/Navbar/NavToolbar/NavToolbar.spec.tsx @@ -45,7 +45,7 @@ describe('NavToolbar Component', () => { expect(screen.queryByTestId('PersonIcon')).not.toBeInTheDocument(); expect(screen.queryByText('explore')).toBeInTheDocument(); - expect(screen.queryByText('HELP')).toBeInTheDocument(); + expect(screen.queryByText('DOCS')).toBeInTheDocument(); expect(screen.queryByText('SIGN IN/SIGN UP')).toBeInTheDocument(); }); @@ -65,7 +65,7 @@ describe('NavToolbar Component', () => { expect(screen.queryByText('new project')).toBeInTheDocument(); expect(screen.queryByText('my projects')).toBeInTheDocument(); expect(screen.queryByText('explore')).toBeInTheDocument(); - expect(screen.queryByText('HELP')).toBeInTheDocument(); + expect(screen.queryByText('DOCS')).toBeInTheDocument(); expect(screen.getByTestId('PersonIcon')).toBeInTheDocument(); });