remove unused code for ContributionLink tests

This commit is contained in:
ogerly 2022-06-08 08:35:18 +02:00
parent 6a91de6808
commit 8703a1af2a
2 changed files with 0 additions and 2 deletions

View File

@ -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()
})
})

View File

@ -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