test(captcha): fix a test case
This commit is contained in:
parent
8ed04e8cc1
commit
d0368ae387
|
|
@ -119,11 +119,11 @@ describe('Captcha - Operation', () => {
|
|||
})
|
||||
|
||||
const eventStub = sinon.stub(wrapper.vm, '$emit')
|
||||
wrapper.find('.md-captcha-btn').trigger('click')
|
||||
expect(eventStub.calledWith('send')).toEqual(true)
|
||||
setTimeout(() => {
|
||||
wrapper.find('.md-captcha-btn').trigger('click')
|
||||
expect(eventStub.calledWith('send')).toEqual(true)
|
||||
done()
|
||||
}, 2000)
|
||||
}, 2500)
|
||||
})
|
||||
|
||||
it('not countdown', () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue