Skip to content

Commit 5296b8e

Browse files
committed
test(reactivity): computed is not being proxied by reactive
1 parent ff5203d commit 5296b8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/reactivity/__tests__/reactive.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,5 +327,8 @@ describe('reactivity/reactive', () => {
327327

328328
const fooSRl = shallowReadonly(foo)
329329
expect(isProxy(fooSRl)).toBe(true)
330+
331+
const c = computed(() => {})
332+
expect(isProxy(c)).toBe(false)
330333
})
331334
})

0 commit comments

Comments
 (0)