From 8e053773ca9c34b36ad964bf662e6f301c8de31e Mon Sep 17 00:00:00 2001 From: Alexander Friedland Date: Tue, 30 Aug 2022 12:14:08 +0200 Subject: [PATCH] Update admin/src/components/ContributionMessages/ContributionMessagesFormular.spec.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Wolfgang Huß --- .../ContributionMessagesFormular.spec.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/admin/src/components/ContributionMessages/ContributionMessagesFormular.spec.js b/admin/src/components/ContributionMessages/ContributionMessagesFormular.spec.js index bc7886052..b8633615a 100644 --- a/admin/src/components/ContributionMessages/ContributionMessagesFormular.spec.js +++ b/admin/src/components/ContributionMessages/ContributionMessagesFormular.spec.js @@ -41,15 +41,16 @@ describe('ContributionMessagesFormular', () => { }) describe('call onReset', () => { - it('form has the set data', () => { - beforeEach(() => { - wrapper.setData({ - form: { - text: 'text form message', - }, - }) - wrapper.vm.onReset() + beforeEach(() => { + wrapper.setData({ + form: { + text: 'text form message', + }, }) + wrapper.vm.onReset() + }) + + it('form has the set data', () => { expect(wrapper.vm.form).toEqual({ text: '', })