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
renderSuspended
does not handle onEvent
notation
#731
Labels
Comments
dosubot
bot
added
the
stale
Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
label
Apr 24, 2024
dosubot
bot
removed
the
stale
Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
label
May 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Reproduction
https://stackblitz.com/edit/github-5sxamx?file=components%2FMyComponent.nuxt.spec.ts
Describe the bug
One convenient method for verifying that a component has emitted the expected events is to pass a prop with "onX" that contain a mocked function:
While this works fine with the testing library
render
helper, Nuxt'srenderSuspended
fails to pass the event handler to the component:Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: