Skip to content

Conversation

@freakzlike
Copy link
Collaborator

renderToString unit test now runs in node environment and not jsdom.

The attachTo option has no usage on renderToString. Should we print a warning, when it is used?

Fix #2020

@netlify
Copy link

netlify bot commented Apr 8, 2023

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

Name Link
🔨 Latest commit 288eb1b
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/643120a84b77b700085c19b7
😎 Deploy Preview https://deploy-preview-2023--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.

@freakzlike freakzlike requested a review from cexbrayat April 8, 2023 08:08
Copy link
Member

@cexbrayat cexbrayat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Maybe we could:

  • add a warning if attachTo is used in renderToString
  • exclude it from the mounting options types for renderToString
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants