mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix test over 95%
This commit is contained in:
parent
8b9b6f1f9a
commit
c8227670a4
@ -46,5 +46,10 @@ describe('ContributionLink', () => {
|
|||||||
wrapper.vm.editContributionLinkData()
|
wrapper.vm.editContributionLinkData()
|
||||||
expect(wrapper.vm.$root.$emit('bv::toggle::collapse', 'newContribution')).toBeTruthy()
|
expect(wrapper.vm.$root.$emit('bv::toggle::collapse', 'newContribution')).toBeTruthy()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('emits toggle::collapse close Contribution-Form ', async () => {
|
||||||
|
wrapper.vm.closeContributionForm()
|
||||||
|
expect(wrapper.vm.$root.$emit('bv::toggle::collapse', 'newContribution')).toBeTruthy()
|
||||||
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user