From f699802b837d7d9fcf150ff2bf00cd3c5475c87a Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 9 Nov 2023 17:18:46 +0100
Subject: refactor(components): rewrite CommentsList component

* use ApprovedCommentProps to make CommentData type
* add the author name of the parent on reply form heading
* add tests
---
 src/components/organisms/layout/comments-list.test.tsx | 12 ------------
 1 file changed, 12 deletions(-)
 delete mode 100644 src/components/organisms/layout/comments-list.test.tsx

(limited to 'src/components/organisms/layout/comments-list.test.tsx')

diff --git a/src/components/organisms/layout/comments-list.test.tsx b/src/components/organisms/layout/comments-list.test.tsx
deleted file mode 100644
index 2a05204..0000000
--- a/src/components/organisms/layout/comments-list.test.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import { describe, it } from '@jest/globals';
-import { render } from '../../../../tests/utils';
-import { CommentsList } from './comments-list';
-import { comments, saveComment } from './comments-list.fixture';
-
-describe('CommentsList', () => {
-  it('renders a comments list', () => {
-    render(
-      <CommentsList comments={comments} depth={1} onSubmit={saveComment} />
-    );
-  });
-});
-- 
cgit v1.2.3

