From a46b0a9a96e1fff2b0793769db161ca65fb217e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E5=B4=94cxr?= Date: Tue, 24 Aug 2021 06:52:11 +0800 Subject: [PATCH] chore(test): make unnecessarily async test case sync (#4421) --- packages/reactivity/__tests__/shallowReactive.spec.ts | 2 +- packages/reactivity/__tests__/shallowReadonly.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/reactivity/__tests__/shallowReactive.spec.ts b/packages/reactivity/__tests__/shallowReactive.spec.ts index 595e72809..cfd870dc0 100644 --- a/packages/reactivity/__tests__/shallowReactive.spec.ts +++ b/packages/reactivity/__tests__/shallowReactive.spec.ts @@ -15,7 +15,7 @@ describe('shallowReactive', () => { }) // #2843 - test('should allow shallow and normal reactive for same target', async () => { + test('should allow shallow and normal reactive for same target', () => { const original = { foo: {} } const shallowProxy = shallowReactive(original) const reactiveProxy = reactive(original) diff --git a/packages/reactivity/__tests__/shallowReadonly.spec.ts b/packages/reactivity/__tests__/shallowReadonly.spec.ts index 8e82412d2..ca3f9671c 100644 --- a/packages/reactivity/__tests__/shallowReadonly.spec.ts +++ b/packages/reactivity/__tests__/shallowReadonly.spec.ts @@ -28,7 +28,7 @@ describe('reactivity/shallowReadonly', () => { }) // #2843 - test('should differentiate from normal readonly calls', async () => { + test('should differentiate from normal readonly calls', () => { const original = { foo: {} } const shallowProxy = shallowReadonly(original) const reactiveProxy = readonly(original)