diff --git a/js/src/components/Report/ReportModal.vue b/js/src/components/Report/ReportModal.vue index ac6f113b1..aa148d800 100644 --- a/js/src/components/Report/ReportModal.vue +++ b/js/src/components/Report/ReportModal.vue @@ -49,9 +49,9 @@ - +
diff --git a/js/tests/unit/specs/components/Report/ReportModal.spec.ts b/js/tests/unit/specs/components/Report/ReportModal.spec.ts index 87911b2f7..cd3926446 100644 --- a/js/tests/unit/specs/components/Report/ReportModal.spec.ts +++ b/js/tests/unit/specs/components/Report/ReportModal.spec.ts @@ -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" ); diff --git a/js/tests/unit/specs/components/Report/__snapshots__/ReportModal.spec.ts.snap b/js/tests/unit/specs/components/Report/__snapshots__/ReportModal.spec.ts.snap index d7bf4b08c..d85250eba 100644 --- a/js/tests/unit/specs/components/Report/__snapshots__/ReportModal.spec.ts.snap +++ b/js/tests/unit/specs/components/Report/__snapshots__/ReportModal.spec.ts.snap @@ -9,8 +9,8 @@ exports[`ReportModal > renders report modal with basic informations and submits
-
-
+
+