-
Notifications
You must be signed in to change notification settings - Fork 244
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
SSR support (render) #507
Comments
Migrating from vue 2 to vue 3, and this seems to be a missing feature in the test utils. Is this something that is actively planned to be reintroduced? |
@samturrell Yes, there is an open PR from a contributor that should land as a first step to support SSR. See #1572 |
@samturrell if you want to pick up where the original author in #1572 left off, that'd be great! I think we just need to rebase and get his branch green, and we can release something to get feedback and testing. |
|
This is a good addition, but I assume it's an emulated function rather than an adapted version of the proper renderToString function since it fails in a NodeJS envrionment. For example:
at the top of your test file gets you a |
Hm, should Any recommendation for how |
We should support
render
, for SSR: https://vue-test-utils.vuejs.org/api/#renderThe text was updated successfully, but these errors were encountered: