Skip to content

Commit

Permalink
✅ update menu active link test
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnsonMao committed Nov 5, 2023
1 parent 0bf723a commit c2fc9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/[lang]/__tests__/menu.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('Menu component', () => {
render(<Menu menu={menu} />);

const links = screen.getAllByRole('link');
const activeClassName = 'text-blue-500 hover:text-blue-500';
const activeClassName = 'text-primary-500';

links.forEach((link) => {
if (link.textContent === activeLinkText) {
Expand Down

0 comments on commit c2fc9e6

Please sign in to comment.