-
Notifications
You must be signed in to change notification settings - Fork 7
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
Not able to serialize Vue 3 component #81
Comments
found a solution for this, needed to make |
|
Any updates on this? |
Just for others to reference. This is how I'm using this library in a Vue 3 project. I've created a custom serializer for that project, then passing data into this library. Works for Jest or Vitest. Works with defaults. Just be aware that not all features that worked on Vue 2 are available on Vue 3, you may need to do: -expect(wrapper)
+expect(wrapper.html())
.toMatchSnapshot(); in some places if upgrading from Vue 2 to Vue 3. |
@kepi0809 @Knogobert @mikemklee This is a Vue 2 + Jest + CJS library. I'm almost done with a total re-write to Vue 3 + Vitest (and Jest) + ESM. If you want to test it out early: |
I have the same error with this package as described here eddyerburgh#49
The text was updated successfully, but these errors were encountered: