fix: test fixes

This commit is contained in:
Wyatt Johnson
2018-09-23 18:16:47 -06:00
parent a8f315db4b
commit d072df8043
2 changed files with 3 additions and 3 deletions
@@ -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<typeof ReplyListContainerN> = {
asset: {
id: "asset-id",
},
comment: {
id: "comment-id",
replies: null,
replies: { edges: [] },
},
relay: {
hasMore: noop,
@@ -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`] = `
<ReplyList