Selaa lähdekoodia

chore: fix jest reference in merged test case

Evan You 3 vuotta sitten
vanhempi
commit
f19f803ea8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/runtime-core/__tests__/apiWatch.spec.ts

+ 1 - 1
packages/runtime-core/__tests__/apiWatch.spec.ts

@@ -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