]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix jest reference in merged test case
authorEvan You <yyx990803@gmail.com>
Wed, 1 Feb 2023 08:50:13 +0000 (16:50 +0800)
committerEvan You <yyx990803@gmail.com>
Wed, 1 Feb 2023 08:50:13 +0000 (16:50 +0800)
packages/runtime-core/__tests__/apiWatch.spec.ts

index 73fe02cc8fab053cf2b9ea2f8cb03ebbf48ad281..1b9f500da3cb320c7255e0f89184824420fcf447 100644 (file)
@@ -930,7 +930,7 @@ describe('api: watch', () => {
   test('should force trigger on triggerRef with toRef from reactive', async () => {
     const foo = reactive({ bar: 1 })
     const bar = toRef(foo, 'bar')
-    const spy = jest.fn()
+    const spy = vi.fn()
 
     watchEffect(() => {
       bar.value