mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
remove comments
This commit is contained in:
parent
119d4c4e82
commit
e8ca65c040
@ -88,15 +88,13 @@ describe('donations.vue', () => {
|
||||
|
||||
describe('form component click', () => {
|
||||
it('on #showDonations checkbox changes "showDonations" to true', async () => {
|
||||
// starts with false
|
||||
await wrapper.find('#showDonations').setChecked(true) // set to true
|
||||
await wrapper.find('#showDonations').setChecked(true)
|
||||
expect(wrapper.vm.showDonations).toBe(true)
|
||||
})
|
||||
|
||||
it('on #showDonations checkbox twice changes "showDonations" back to false', async () => {
|
||||
// starts with false
|
||||
await wrapper.find('#showDonations').setChecked(true) // set to true
|
||||
await wrapper.find('#showDonations').setChecked(false) // set to true
|
||||
await wrapper.find('#showDonations').setChecked(true)
|
||||
await wrapper.find('#showDonations').setChecked(false)
|
||||
expect(wrapper.vm.showDonations).toBe(false)
|
||||
})
|
||||
|
||||
@ -137,7 +135,7 @@ describe('donations.vue', () => {
|
||||
})
|
||||
|
||||
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()
|
||||
wrapper.find('#donations-goal').setValue('20000')
|
||||
await wrapper.vm.$nextTick()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user