Skip to content

Commit a46b0a9

Browse files
authored
chore(test): make unnecessarily async test case sync (#4421)
1 parent 4792ebd commit a46b0a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/reactivity/__tests__/shallowReactive.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('shallowReactive', () => {
1515
})
1616

1717
// #2843
18-
test('should allow shallow and normal reactive for same target', async () => {
18+
test('should allow shallow and normal reactive for same target', () => {
1919
const original = { foo: {} }
2020
const shallowProxy = shallowReactive(original)
2121
const reactiveProxy = reactive(original)

packages/reactivity/__tests__/shallowReadonly.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('reactivity/shallowReadonly', () => {
2828
})
2929

3030
// #2843
31-
test('should differentiate from normal readonly calls', async () => {
31+
test('should differentiate from normal readonly calls', () => {
3232
const original = { foo: {} }
3333
const shallowProxy = shallowReadonly(original)
3434
const reactiveProxy = readonly(original)

0 commit comments

Comments
 (0)