corrects tests (snapshot obsolet) - issue #1776

This commit is contained in:
Laurent GAY
2025-06-30 15:20:05 +02:00
parent 539bf0e4d6
commit 9223f00004

View File

@@ -119,7 +119,6 @@ describe("CommentTree", () => {
}); });
it("renders a comment tree with comments", async () => { it("renders a comment tree with comments", async () => {
console.log(">>>>> <<<<<");
generateWrapper(); generateWrapper();
expect(wrapper.exists()).toBe(true); expect(wrapper.exists()).toBe(true);
@@ -129,7 +128,6 @@ describe("CommentTree", () => {
await flushPromises(); await flushPromises();
expect(wrapper.find("p.text-center").exists()).toBe(false); expect(wrapper.find("p.text-center").exists()).toBe(false);
console.log(">>>>> <<<<<", wrapper.html());
expect(wrapper.findAllComponents("event-comment-stub").length).toBe(2); expect(wrapper.findAllComponents("event-comment-stub").length).toBe(2);
expect(wrapper.html()).toMatchSnapshot(); expect(wrapper.html()).toMatchSnapshot();
}); });