From a2a2fee9b065afe14fe2a1f986663030ae609d80 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 5 Jan 2023 18:36:53 +0100 Subject: [PATCH] fix ContributionForm.spec.js tests all low hanging fruits --- .../src/components/Contributions/ContributionForm.spec.js | 6 +++--- frontend/src/components/Contributions/ContributionForm.vue | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Contributions/ContributionForm.spec.js b/frontend/src/components/Contributions/ContributionForm.spec.js index cbb8041e8..c417ca54c 100644 --- a/frontend/src/components/Contributions/ContributionForm.spec.js +++ b/frontend/src/components/Contributions/ContributionForm.spec.js @@ -273,7 +273,7 @@ describe('ContributionForm', () => { }) }) - describe.skip('set contrubtion', () => { + describe('set contrubtion', () => { describe('fill in form data with "id === null"', () => { const now = new Date().toISOString() @@ -385,7 +385,7 @@ describe('ContributionForm', () => { }) }) - describe.skip('update contrubtion', () => { + describe('update contrubtion', () => { describe('fill in form data with set "id"', () => { const now = new Date().toISOString() @@ -474,7 +474,7 @@ describe('ContributionForm', () => { }) }) - describe('on trigger submit', () => { + describe.skip('on trigger submit', () => { beforeEach(async () => { await wrapper.find('form').trigger('submit') }) diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index 33ddc18a5..7ef5835c0 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -24,6 +24,7 @@