Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow spying on non-exposed script setup functions #1860

Merged

Conversation

cexbrayat
Copy link
Member

Fixes #1859

The proxy needs to implement defineProperty to allow spying.

Fixes vuejs#1859

The proxy needs to implement `defineProperty` to allow spying.
@netlify
Copy link

netlify bot commented Nov 14, 2022

Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit 24b3fa8
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/6372215e1514420008a769ff
😎 Deploy Preview https://deploy-preview-1860--vue-test-utils-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@cexbrayat
Copy link
Member Author

I'm merging these, as the fixes are one on top of the other.

@cexbrayat cexbrayat merged commit 87625ec into vuejs:main Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: spying on wrapper.vm for script setup methods using Vue 3.2.45 and VTU 2.2.2 stop working
1 participant