Skip to content

Commit

Permalink
fix: update Layout.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavkparti committed Jul 19, 2023
1 parent af3bbeb commit 1ba591f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/layout/Layout.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ describe('Layout component', () => {
await screen.findByAltText(/Greenstand logo/);
await screen.findAllByRole('link');

expect(screen.getAllByRole('link')).toHaveLength(3);
expect(screen.getAllByRole('link')).toHaveLength(4);
expect(screen.getByText(/Home/)).toBeInTheDocument();
expect(screen.getByText(/Send Tokens/)).toBeInTheDocument();
expect(screen.getAllByRole('button')).toHaveLength(3);
expect(screen.getByText(/My Transfers/)).toBeInTheDocument();
expect(screen.getAllByRole('button')).toHaveLength(4);
});

});

0 comments on commit 1ba591f

Please sign in to comment.