mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Fix front end test
This commit is contained in:
parent
b23538c47e
commit
13559e229d
@ -35,7 +35,7 @@ test('login', async () => {
|
||||
expect(Vue.prototype.$http.post).not.toBeCalled()
|
||||
expect(info.text()).toBe('auth.emptyIdentification')
|
||||
|
||||
wrapper.find('[type="email"]').setValue('a@b.c')
|
||||
wrapper.find('input').setValue('a@b.c')
|
||||
form.trigger('submit')
|
||||
expect(Vue.prototype.$http.post).not.toBeCalled()
|
||||
expect(info.text()).toBe('auth.emptyPassword')
|
||||
|
Loading…
Reference in New Issue
Block a user