aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/comments-list.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/layout/comments-list.test.tsx')
-rw-r--r--src/components/organisms/layout/comments-list.test.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/organisms/layout/comments-list.test.tsx b/src/components/organisms/layout/comments-list.test.tsx
index f245ebb..d7e170c 100644
--- a/src/components/organisms/layout/comments-list.test.tsx
+++ b/src/components/organisms/layout/comments-list.test.tsx
@@ -1,4 +1,4 @@
-import { describe, expect, it } from '@jest/globals';
+import { describe, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { saveComment } from './comment.fixture';
import { CommentsList } from './comments-list';
@@ -7,7 +7,7 @@ import { comments } from './comments-list.fixture';
describe('CommentsList', () => {
it('renders a comments list', () => {
render(
- <CommentsList comments={comments} depth={1} saveComment={saveComment} />
+ <CommentsList comments={comments} depth={1} onSubmit={saveComment} />
);
});
});