Add integration test for comments (not finished)

This commit is contained in:
riggraz
2019-09-18 17:00:58 +02:00
parent 7701c8f5e6
commit 876f77e000
4 changed files with 67 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ const Comment = ({
</div>
<p className="commentBody">{body}</p>
<div className="commentFooter">
<a onClick={handleToggleCommentReply}>Reply</a>
<a className="commentReplyButton" onClick={handleToggleCommentReply}>Reply</a>
<MutedText>{updatedAt}</MutedText>
</div>
{

View File

@@ -20,6 +20,7 @@ const NewComment = ({
<textarea
value={body}
onChange={handleChange}
className="newCommentBody"
/>
<Button onClick={() => handleSubmit(body, parentId)}>Submit</Button>
</div>