From cd3255a94eb36b828fd851035f01eebaef4d00a1 Mon Sep 17 00:00:00 2001 From: Richard Ward Date: Tue, 30 Dec 2025 18:07:41 +0000 Subject: [PATCH] code: tsx,nextjs,navlink (1 files) --- .../src/components/ui/molecules/navigation/NavLink.test.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontends/nextjs/src/components/ui/molecules/navigation/NavLink.test.tsx b/frontends/nextjs/src/components/ui/molecules/navigation/NavLink.test.tsx index ec9e1162d..ae61e8607 100644 --- a/frontends/nextjs/src/components/ui/molecules/navigation/NavLink.test.tsx +++ b/frontends/nextjs/src/components/ui/molecules/navigation/NavLink.test.tsx @@ -63,15 +63,16 @@ describe('NavLink', () => { ) const link = screen.getByText('Home').closest('a') - // Check for active styling - MUI applies specific classes + // Check for active styling - fakemui applies CSS module classes expect(link).toBeTruthy() + expect(link?.className).toMatch(/navLinkActive/) }) it('does not have underline by default', () => { render(Home) const link = screen.getByText('Home').closest('a') - // MUI Link with underline="none" doesn't add text-decoration + // fakemui Link with underline="none" doesn't add text-decoration expect(link).toBeTruthy() }) })