aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/comments-list.test.tsx
blob: d7e170c89df4c22f9ade9757143262bf94b87b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { describe, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { saveComment } from './comment.fixture';
import { CommentsList } from './comments-list';
import { comments } from './comments-list.fixture';

describe('CommentsList', () => {
  it('renders a comments list', () => {
    render(
      <CommentsList comments={comments} depth={1} onSubmit={saveComment} />
    );
  });
});