Fix js unit test for report modal

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-09-21 08:35:22 +02:00
parent 6a9fba7db8
commit 655ae4f9a1
3 changed files with 5 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ describe("ReportModal", () => {
},
});
const commentContainer = wrapper.find("article.media");
const commentContainer = wrapper.find("article");
expect(commentContainer.find("strong").text()).toContain(
"I am the comment author"
);