Skip to content
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

Fixes "SVGElement is not defined" for Vue 3 mocha tests. #36

Merged
merged 1 commit into from Apr 28, 2021

Conversation

HeavyMedl
Copy link

vue@3.0.8 introduced an existence check for SVGElement in @vue/runtime-dom. This broke jsdom as it didn't have a reference to SVGElement. The Vue core team fixed this in vue-cli. This patch brings that fix into our mochapack setup.js. For context, please see the original issue.

@HeavyMedl HeavyMedl changed the title Fixes "SVGElement is not defined" for Vue mocha tests. Fixes "SVGElement is not defined" for Vue 3 mocha tests. Apr 28, 2021
@HeavyMedl HeavyMedl merged commit 505486b into master Apr 28, 2021
@HeavyMedl HeavyMedl deleted the pr/vue-3-svgelement-fix branch April 28, 2021 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants