From 8703a1af2a6f738d86d43aa5c9c99d48c540af55 Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 8 Jun 2022 08:35:18 +0200 Subject: [PATCH] remove unused code for ContributionLink tests --- admin/src/components/ContributionLink.spec.js | 1 - admin/src/components/ContributionLinkForm.vue | 1 - 2 files changed, 2 deletions(-) diff --git a/admin/src/components/ContributionLink.spec.js b/admin/src/components/ContributionLink.spec.js index ae5ea4f58..66ea20ef9 100644 --- a/admin/src/components/ContributionLink.spec.js +++ b/admin/src/components/ContributionLink.spec.js @@ -25,7 +25,6 @@ describe('ContributionLink', () => { it('emits toggle::collapse new Contribution', async () => { wrapper.vm.editContributionLinkData() - // expect(wrapper.emitted('bv::toggle::collapse', 'newContribution')).toBeTruthy() expect(wrapper.vm.$root.$emit('bv::toggle::collapse', 'newContribution')).toBeTruthy() }) }) diff --git a/admin/src/components/ContributionLinkForm.vue b/admin/src/components/ContributionLinkForm.vue index 38342d562..a9441ce1c 100644 --- a/admin/src/components/ContributionLinkForm.vue +++ b/admin/src/components/ContributionLinkForm.vue @@ -193,7 +193,6 @@ export default { }, watch: { contributionLinkData() { - // alert('change contributionLinkData') this.form.name = this.contributionLinkData.name this.form.memo = this.contributionLinkData.memo this.form.amount = this.contributionLinkData.amount