This commit is contained in:
Chi Vinh Le
2018-09-13 18:20:55 +02:00
parent 3955c960bf
commit ba2c2c32b2
@@ -19,6 +19,7 @@ it("renders username and body", () => {
comment: {
id: "comment-id",
author: {
id: "author-id",
username: "Marvin",
},
body: "Woof",
@@ -46,6 +47,7 @@ it("renders body only", () => {
comment: {
id: "comment-id",
author: {
id: "author-id",
username: null,
},
body: "Woof",