New Package: Vitest Plugin Mock SVG v0.2 #2880
zbynekstara
announced in
News
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Do you use Vitest in your project?
We have released a new package, @joint/vitest-plugin-mock-svg, which provides mocks for SVG functions required by JointJS but not implemented by JSDOM.
Importing this package as a Vite/Vitest plugin will solve issues such as #2824:
Please let us know if the package works for you as expected. You can find the source code on GitHub.
Beta Was this translation helpful? Give feedback.
All reactions