From fb860884857da73ee5b5e897745301cdf1d770a2 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 5 Oct 2023 18:58:30 +0200
Subject: refactor(components): make form components compliant with Eslint
 rules

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

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

diff --git a/src/components/atoms/forms/legend/legend.test.tsx b/src/components/atoms/forms/legend/legend.test.tsx
index fc759f7..088e8ad 100644
--- a/src/components/atoms/forms/legend/legend.test.tsx
+++ b/src/components/atoms/forms/legend/legend.test.tsx
@@ -1,5 +1,5 @@
 import { describe, expect, it } from '@jest/globals';
-import { render, screen } from '../../../../../tests/utils';
+import { render, screen as rtlScreen } from '@testing-library/react';
 import { Fieldset } from '../fieldset';
 import { Legend } from './legend';
 
@@ -13,6 +13,6 @@ describe('legend', () => {
       </Fieldset>
     );
 
-    expect(screen.getByRole('group')).toHaveTextContent(body);
+    expect(rtlScreen.getByRole('group')).toHaveTextContent(body);
   });
 });
-- 
cgit v1.2.3

