Skip to content

Commit

Permalink
test(reactivity): computed is not being proxied by reactive
Browse files Browse the repository at this point in the history
  • Loading branch information
OnlyWick committed Feb 27, 2024
1 parent ff5203d commit 5296b8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/reactivity/__tests__/reactive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,5 +327,8 @@ describe('reactivity/reactive', () => {

const fooSRl = shallowReadonly(foo)
expect(isProxy(fooSRl)).toBe(true)

const c = computed(() => {})
expect(isProxy(c)).toBe(false)
})
})

0 comments on commit 5296b8e

Please sign in to comment.