mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 20:17:52 +08:00
chore(model-text.spec): add a missing check (#5093)
This commit is contained in:
parent
23a20ce09d
commit
c683caff3a
@ -45,6 +45,7 @@ describe('Directive v-model text', () => {
|
||||
expect(vm.test).toBe(1)
|
||||
vm.$el.value = '2'
|
||||
triggerEvent(vm.$el, 'input')
|
||||
expect(vm.test).toBe(2)
|
||||
// should let strings pass through
|
||||
vm.$el.value = 'f'
|
||||
triggerEvent(vm.$el, 'input')
|
||||
|
Loading…
Reference in New Issue
Block a user