diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index e348446c5..ee37db80d 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -6,6 +6,7 @@
diff --git a/src/components/PageFooter.vue b/src/components/PageFooter.vue index b800736f4..e8923e662 100644 --- a/src/components/PageFooter.vue +++ b/src/components/PageFooter.vue @@ -54,8 +54,9 @@ @@ -63,12 +64,7 @@ >{{ new Date().getFullYear() }}
diff --git a/tests/unit/specs/components/Participation/ParticipationWithoutAccount.spec.ts b/tests/unit/specs/components/Participation/ParticipationWithoutAccount.spec.ts index 123848436..9a664c92b 100644 --- a/tests/unit/specs/components/Participation/ParticipationWithoutAccount.spec.ts +++ b/tests/unit/specs/components/Participation/ParticipationWithoutAccount.spec.ts @@ -138,6 +138,7 @@ describe("ParticipationWithoutAccount", () => { wrapper.find("form").trigger("submit"); await flushPromises(); + expect(wrapper.vm.error).toBe(false); expect(requestHandlers.joinEventMutationHandler).toHaveBeenCalledWith( expect.objectContaining(joinEventMock) @@ -215,6 +216,7 @@ describe("ParticipationWithoutAccount", () => { wrapper.find("form").trigger("submit"); await flushPromises(); + expect(wrapper.vm.error).toBe(false); expect(requestHandlers.joinEventMutationHandler).toHaveBeenCalledWith( expect.objectContaining(joinEventMock) diff --git a/tests/unit/specs/components/__snapshots__/footer.spec.ts.snap b/tests/unit/specs/components/__snapshots__/footer.spec.ts.snap new file mode 100644 index 000000000..44cc5b631 --- /dev/null +++ b/tests/unit/specs/components/__snapshots__/footer.spec.ts.snap @@ -0,0 +1,51 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`App component > renders a Vue component 1`] = ` +"" +`; diff --git a/tests/unit/specs/components/__snapshots__/navbar.spec.ts.snap b/tests/unit/specs/components/__snapshots__/navbar.spec.ts.snap index 58d868dbc..31ba911af 100644 --- a/tests/unit/specs/components/__snapshots__/navbar.spec.ts.snap +++ b/tests/unit/specs/components/__snapshots__/navbar.spec.ts.snap @@ -3,7 +3,7 @@ exports[`App component > renders a Vue component 1`] = ` "