Mark comments as always returning a value

This commit is contained in:
Chi Vinh Le
2018-07-10 19:14:42 -03:00
parent 8e87cba52f
commit ec1eff2b9d
5 changed files with 4 additions and 23 deletions
@@ -18,19 +18,6 @@ it("renders correctly", () => {
expect(wrapper).toMatchSnapshot();
});
it("renders when comments is null", () => {
const props = {
assetID: "asset-id",
isClosed: false,
comments: null,
onLoadMore: noop,
disableLoadMore: false,
hasMore: false,
};
const wrapper = shallow(<Stream {...props} />);
expect(wrapper).toMatchSnapshot();
});
describe("when there is more", () => {
const props = {
assetID: "asset-id",