diff --git a/src/core/client/stream/tabs/comments/containers/ReplyListContainer.spec.tsx b/src/core/client/stream/tabs/comments/containers/ReplyListContainer.spec.tsx index 08508b157..6d3a4d44c 100644 --- a/src/core/client/stream/tabs/comments/containers/ReplyListContainer.spec.tsx +++ b/src/core/client/stream/tabs/comments/containers/ReplyListContainer.spec.tsx @@ -34,14 +34,14 @@ it("renders correctly", () => { expect(wrapper).toMatchSnapshot(); }); -it("renders correctly when replies are null", () => { +it("renders correctly when replies are empty", () => { const props: PropTypesOf = { asset: { id: "asset-id", }, comment: { id: "comment-id", - replies: null, + replies: { edges: [] }, }, relay: { hasMore: noop, diff --git a/src/core/client/stream/tabs/comments/containers/__snapshots__/ReplyListContainer.spec.tsx.snap b/src/core/client/stream/tabs/comments/containers/__snapshots__/ReplyListContainer.spec.tsx.snap index ad14ab002..94b68d625 100644 --- a/src/core/client/stream/tabs/comments/containers/__snapshots__/ReplyListContainer.spec.tsx.snap +++ b/src/core/client/stream/tabs/comments/containers/__snapshots__/ReplyListContainer.spec.tsx.snap @@ -44,7 +44,7 @@ exports[`renders correctly 1`] = ` /> `; -exports[`renders correctly when replies are null 1`] = `""`; +exports[`renders correctly when replies are empty 1`] = `""`; exports[`when has more replies renders hasMore 1`] = `