Fix Vue unit tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-06-04 20:24:43 +02:00
parent f100fce0da
commit 51106841ab
18 changed files with 283 additions and 66 deletions

View File

@@ -98,7 +98,7 @@ describe("ReportModal", () => {
);
const switchButton = wrapper.find('input[type="checkbox"]');
switchButton.trigger("click");
switchButton.setChecked();
const submit = wrapper.find("footer.modal-card-foot button.is-primary");
submit.trigger("click");