From fc77c0a7e9c81f5bc1a69dee945ce71b9511b3cc Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 19 Dec 2023 15:57:42 +0100
Subject: fix(components): make navbar usable with javascript disabled

---
 src/components/atoms/overlay/overlay.test.tsx | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

(limited to 'src/components/atoms/overlay/overlay.test.tsx')

diff --git a/src/components/atoms/overlay/overlay.test.tsx b/src/components/atoms/overlay/overlay.test.tsx
index fcc694f..1d31e9c 100644
--- a/src/components/atoms/overlay/overlay.test.tsx
+++ b/src/components/atoms/overlay/overlay.test.tsx
@@ -8,14 +8,6 @@ describe('overlay', () => {
 
     render(<Overlay>{body}</Overlay>);
 
-    expect(screenTL.getByText(body)).toHaveClass('overlay--visible');
-  });
-
-  it('can be hidden', () => {
-    const body = 'vel aspernatur mollitia';
-
-    render(<Overlay isVisible={false}>{body}</Overlay>);
-
-    expect(screenTL.getByText(body)).toHaveClass('overlay--hidden');
+    expect(screenTL.getByText(body)).toBeInTheDocument();
   });
 });
-- 
cgit v1.2.3

