|
@@ -91,7 +91,7 @@ describe('api: watch', () => {
|
|
|
array.push(1)
|
|
array.push(1)
|
|
|
await nextTick()
|
|
await nextTick()
|
|
|
expect(spy).toBeCalledTimes(1)
|
|
expect(spy).toBeCalledTimes(1)
|
|
|
- expect(spy).toBeCalledWith([1], expect.anything(), expect.anything())
|
|
|
|
|
|
|
+ expect(spy).toBeCalledWith([1], [1], expect.anything())
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
it('should not fire if watched getter result did not change', async () => {
|
|
it('should not fire if watched getter result did not change', async () => {
|