Skip to content

Commit

Permalink
fix: fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoalee committed Oct 13, 2023
1 parent 65cbd9c commit cd028a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand All @@ -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', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand All @@ -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();
});

Expand Down

0 comments on commit cd028a2

Please sign in to comment.