remove comments

This commit is contained in:
Moriz Wahl 2023-02-23 21:13:18 +01:00
parent 119d4c4e82
commit e8ca65c040

View File

@ -88,15 +88,13 @@ describe('donations.vue', () => {
describe('form component click', () => { describe('form component click', () => {
it('on #showDonations checkbox changes "showDonations" to true', async () => { it('on #showDonations checkbox changes "showDonations" to true', async () => {
// starts with false await wrapper.find('#showDonations').setChecked(true)
await wrapper.find('#showDonations').setChecked(true) // set to true
expect(wrapper.vm.showDonations).toBe(true) expect(wrapper.vm.showDonations).toBe(true)
}) })
it('on #showDonations checkbox twice changes "showDonations" back to false', async () => { it('on #showDonations checkbox twice changes "showDonations" back to false', async () => {
// starts with false await wrapper.find('#showDonations').setChecked(true)
await wrapper.find('#showDonations').setChecked(true) // set to true await wrapper.find('#showDonations').setChecked(false)
await wrapper.find('#showDonations').setChecked(false) // set to true
expect(wrapper.vm.showDonations).toBe(false) expect(wrapper.vm.showDonations).toBe(false)
}) })
@ -137,7 +135,7 @@ describe('donations.vue', () => {
}) })
it('calls mutation with input values once', async () => { it('calls mutation with input values once', async () => {
wrapper.find('#showDonations').setChecked(true) // set to true wrapper.find('#showDonations').setChecked(true)
await wrapper.vm.$nextTick() await wrapper.vm.$nextTick()
wrapper.find('#donations-goal').setValue('20000') wrapper.find('#donations-goal').setValue('20000')
await wrapper.vm.$nextTick() await wrapper.vm.$nextTick()