From f19f803ea8dc81ccfc1e7e814e5b7612ac9ba6da Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 1 Feb 2023 16:50:13 +0800 Subject: [PATCH] chore: fix jest reference in merged test case --- packages/runtime-core/__tests__/apiWatch.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/__tests__/apiWatch.spec.ts b/packages/runtime-core/__tests__/apiWatch.spec.ts index 73fe02cc8fa..1b9f500da3c 100644 --- a/packages/runtime-core/__tests__/apiWatch.spec.ts +++ b/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