Skip to content

Commit

Permalink
chore(test): make unnecessarily async test case sync (#4421)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Aug 23, 2021
1 parent 4792ebd commit a46b0a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/reactivity/__tests__/shallowReactive.spec.ts
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion packages/reactivity/__tests__/shallowReadonly.spec.ts
Expand Up @@ -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)
Expand Down

0 comments on commit a46b0a9

Please sign in to comment.