add test, coverage to over 95%

This commit is contained in:
ogerly 2022-11-14 16:49:00 +01:00
parent c7f5acf287
commit 6e83d9447a

View File

@ -132,6 +132,16 @@ describe('ContributionListItem', () => {
expect(wrapper.emitted('delete-contribution')).toBeFalsy()
})
})
describe('updateState', () => {
beforeEach(async () => {
await wrapper.vm.updateState()
})
it('emit update-state', () => {
expect(wrapper.vm.$emit('update-state')).toBeTruthy()
})
})
})
})
})