diff options
Diffstat (limited to 'src/components/organisms/layout/comments-list.test.tsx')
| -rw-r--r-- | src/components/organisms/layout/comments-list.test.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/organisms/layout/comments-list.test.tsx b/src/components/organisms/layout/comments-list.test.tsx new file mode 100644 index 0000000..b0a2467 --- /dev/null +++ b/src/components/organisms/layout/comments-list.test.tsx @@ -0,0 +1,12 @@ +import { render } from '@test-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} saveComment={saveComment} /> + ); + }); +}); |
