Improve comment tree
Closes #862 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -162,7 +162,9 @@ describe("CommentTree", () => {
|
||||
requestHandlers.eventCommentThreadsQueryHandler
|
||||
).toHaveBeenCalledWith({ eventUUID: eventData.uuid });
|
||||
|
||||
expect(wrapper.find(".no-comments").text()).toBe("No comments yet");
|
||||
expect(wrapper.findComponent({ name: "EmptyContent" }).text()).toBe(
|
||||
"No comments yet"
|
||||
);
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user