From c347190a4307c172d15dac156da86567098035f6 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 24 May 2022 16:18:02 +0200
Subject: test: fix theme toggle and comment tests

---
 src/components/molecules/forms/theme-toggle.test.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/molecules/forms/theme-toggle.test.tsx')

diff --git a/src/components/molecules/forms/theme-toggle.test.tsx b/src/components/molecules/forms/theme-toggle.test.tsx
index 89b4f6f..0600c5e 100644
--- a/src/components/molecules/forms/theme-toggle.test.tsx
+++ b/src/components/molecules/forms/theme-toggle.test.tsx
@@ -2,12 +2,12 @@ import { render, screen } from '@test-utils';
 import ThemeToggle from './theme-toggle';
 
 describe('ThemeToggle', () => {
-  it('renders a checked toggle (dark theme choice)', () => {
+  it('renders a toggle component', () => {
     render(<ThemeToggle />);
     expect(
       screen.getByRole('checkbox', {
         name: `Theme: Light theme Dark theme`,
       })
-    ).toBeChecked();
+    ).toBeInTheDocument();
   });
 });
-- 
cgit v1.2.3

