test(runtime-core): modify test case to set different value (#620)
This commit is contained in:
parent
1542b5eb6f
commit
787ac5f74e
@ -119,9 +119,9 @@ describe('api: watch', () => {
|
||||
expect(dummy).toMatchObject([[1, false], []])
|
||||
|
||||
state.count++
|
||||
status.value = false
|
||||
status.value = true
|
||||
await nextTick()
|
||||
expect(dummy).toMatchObject([[2, false], [1, false]])
|
||||
expect(dummy).toMatchObject([[2, true], [1, false]])
|
||||
})
|
||||
|
||||
it('stopping the watcher', async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user