File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
test/unit/specs/directives/public Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -711,17 +711,17 @@ describe('v-model', function () {
711
711
expect ( spy . calls . count ( ) ) . toBe ( 1 )
712
712
expect ( spy ) . toHaveBeenCalledWith ( 'd' , 'a' )
713
713
expect ( vm . test ) . toBe ( 'd' )
714
- } , 150 )
715
- setTimeout ( function ( ) {
716
- el . firstChild . value = 'e'
717
- // blur should trigger change instantly without debounce
718
- trigger ( el . firstChild , 'blur' )
719
- _ . nextTick ( function ( ) {
720
- expect ( spy . calls . count ( ) ) . toBe ( 2 )
721
- expect ( spy ) . toHaveBeenCalledWith ( 'e' , 'd ')
722
- expect ( vm . test ) . toBe ( 'e' )
723
- done ( )
724
- } )
714
+ setTimeout ( function ( ) {
715
+ el . firstChild . value = 'e'
716
+ // blur should trigger change instantly without debounce
717
+ trigger ( el . firstChild , 'blur' )
718
+ _ . nextTick ( function ( ) {
719
+ expect ( spy . calls . count ( ) ) . toBe ( 2 )
720
+ expect ( spy ) . toHaveBeenCalledWith ( 'e' , 'd' )
721
+ expect ( vm . test ) . toBe ( 'e' )
722
+ done ( )
723
+ } )
724
+ } , 10 )
725
725
} , 200 )
726
726
} )
727
727
You can’t perform that action at this time.
0 commit comments