From: Evan You Date: Wed, 1 Feb 2023 08:50:13 +0000 (+0800) Subject: chore: fix jest reference in merged test case X-Git-Tag: v3.2.46~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19f803ea8dc81ccfc1e7e814e5b7612ac9ba6da;p=thirdparty%2Fvuejs%2Fcore.git chore: fix jest reference in merged test case --- diff --git a/packages/runtime-core/__tests__/apiWatch.spec.ts b/packages/runtime-core/__tests__/apiWatch.spec.ts index 73fe02cc8f..1b9f500da3 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