@@ -457,7 +457,7 @@ describe('api/watch', () => {
457457 template : `<div>{{obj1.a}} {{obj2.a}}</div>` ,
458458 } ) . $mount ( )
459459 expect ( spy ) . toBeCalledTimes ( 1 )
460- expect ( spy ) . toHaveBeenLastCalledWith ( [ 1 , 2 ] , undefined )
460+ expect ( spy ) . toHaveBeenLastCalledWith ( [ 1 , 2 ] , [ ] )
461461 obj1 . a = 2
462462 obj2 . a = 3
463463
@@ -491,7 +491,7 @@ describe('api/watch', () => {
491491 template : `<div>{{a}} {{b}}</div>` ,
492492 } ) . $mount ( )
493493 expect ( spy ) . toBeCalledTimes ( 1 )
494- expect ( spy ) . toHaveBeenLastCalledWith ( [ 1 , 1 ] , undefined )
494+ expect ( spy ) . toHaveBeenLastCalledWith ( [ 1 , 1 ] , [ ] )
495495 vm . a = 2
496496 expect ( spy ) . toBeCalledTimes ( 1 )
497497 waitForUpdate ( ( ) => {
@@ -553,7 +553,7 @@ describe('api/watch', () => {
553553 } ,
554554 } )
555555 expect ( spy ) . toBeCalledTimes ( 1 )
556- expect ( spy ) . toHaveBeenLastCalledWith ( [ 1 , 1 ] , undefined )
556+ expect ( spy ) . toHaveBeenLastCalledWith ( [ 1 , 1 ] , [ ] )
557557 vm . a = 2
558558 expect ( spy ) . toBeCalledTimes ( 2 )
559559 expect ( spy ) . toHaveBeenLastCalledWith ( [ 2 , 1 ] , [ 1 , 1 ] )
0 commit comments