nuxt-vitest icon indicating copy to clipboard operation
nuxt-vitest copied to clipboard

fix: access exposed properties from wrapper

Open danielroe opened this issue 2 years ago • 3 comments

this is work in progress from a stream - adding here to prevent it from being lost

danielroe avatar May 30 '23 16:05 danielroe

@danielroe Do you have plans to continue working on this PR?

soil7800 avatar Sep 06 '23 09:09 soil7800

Thanks for the reminder! I will indeed, but if you want to pick it up before I do, I would certainly be grateful. 🙏

danielroe avatar Sep 06 '23 09:09 danielroe

I'm not sure if I can solve this issue. 😢 In your example it is possible to access objects via

expect(component.vm.$.exposed.someRef.value).toBe('thing')

but no proxy is created for it. Looks like a problem with suspend #vuejs/core/issues/7346

soil7800 avatar Sep 07 '23 07:09 soil7800