Skip to content

Commit c683caf

Browse files
S-YOUkazupon
authored andcommitted
chore(model-text.spec): add a missing check (#5093)
1 parent 23a20ce commit c683caf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/unit/features/directives/model-text.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ describe('Directive v-model text', () => {
4545
expect(vm.test).toBe(1)
4646
vm.$el.value = '2'
4747
triggerEvent(vm.$el, 'input')
48+
expect(vm.test).toBe(2)
4849
// should let strings pass through
4950
vm.$el.value = 'f'
5051
triggerEvent(vm.$el, 'input')

0 commit comments

Comments
 (0)