]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(test): make unnecessarily async test case sync (#4421)
author阿崔cxr <cui_xiaorui@126.com>
Mon, 23 Aug 2021 22:52:11 +0000 (06:52 +0800)
committerGitHub <noreply@github.com>
Mon, 23 Aug 2021 22:52:11 +0000 (18:52 -0400)
packages/reactivity/__tests__/shallowReactive.spec.ts
packages/reactivity/__tests__/shallowReadonly.spec.ts

index 595e728097e8a8097289cad55a6218557b28c05f..cfd870dc002c2580184b3dcf434727d972cce1e0 100644 (file)
@@ -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)
index 8e82412d2d3a8bd1f78200582714613d97432636..ca3f9671c59b62904f2f2b9a9196e4b1c42bf9ee 100644 (file)
@@ -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)