From a6ff5eee45215effb3344cb5d631a27a7c0369aa Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 22 Sep 2023 19:34:01 +0200
Subject: refactor(components): rewrite form components

---
 .../organisms/forms/comment-form.test.tsx          | 23 ----------------------
 1 file changed, 23 deletions(-)
 delete mode 100644 src/components/organisms/forms/comment-form.test.tsx

(limited to 'src/components/organisms/forms/comment-form.test.tsx')

diff --git a/src/components/organisms/forms/comment-form.test.tsx b/src/components/organisms/forms/comment-form.test.tsx
deleted file mode 100644
index f11c449..0000000
--- a/src/components/organisms/forms/comment-form.test.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import { render, screen } from '../../../../tests/utils';
-import { CommentForm } from './comment-form';
-
-const saveComment = async () => {
-  /** Do nothing. */
-};
-const title = 'Cum voluptas voluptatibus';
-
-describe('CommentForm', () => {
-  it('renders a form', () => {
-    render(<CommentForm saveComment={saveComment} />);
-    expect(screen.getByRole('form')).toBeInTheDocument();
-  });
-
-  it('renders an optional title', () => {
-    render(
-      <CommentForm saveComment={saveComment} title={title} titleLevel={2} />
-    );
-    expect(
-      screen.getByRole('heading', { level: 2, name: title })
-    ).toBeInTheDocument();
-  });
-});
-- 
cgit v1.2.3

