Skip to content

fix #2024 - Accessing HTMLElement and SVGElement through window - #2025

Merged
lmiller1990 merged 2 commits into
vuejs:devfrom
3rdvision:fix-isvisible-for-svg-elements
Nov 7, 2022
Merged

fix #2024 - Accessing HTMLElement and SVGElement through window#2025
lmiller1990 merged 2 commits into
vuejs:devfrom
3rdvision:fix-isvisible-for-svg-elements

Conversation

@3rdvision

Copy link
Copy Markdown
Contributor

Parent issue: #2024

The method isStyleVisible was ported from jest-dom as it is declared on the function comment but looking at js-dom code, they don't have instanceof SVGElement but, instead, instanceof window.SVGElement which makes sense and fixes issue #2024.

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

@netlify

netlify Bot commented Nov 4, 2022

Copy link
Copy Markdown

Deploy Preview for vue-test-utils-v1 failed.

Name Link
🔨 Latest commit a668b22
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-v1/deploys/6368d5497911420009172e27

Comment thread packages/test-utils/dist/vue-test-utils.iife.js

@lmiller1990 lmiller1990 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One comment. thanks!

@3rdvision
3rdvision requested a review from lmiller1990 November 7, 2022 09:52
@lmiller1990

Copy link
Copy Markdown
Member

Cool, thanks.

I will do a release in a few days, I want to try and get a couple more things in, thanks for your patience 👍

@lmiller1990
lmiller1990 merged commit e1ef76a into vuejs:dev Nov 7, 2022
@lmiller1990

Copy link
Copy Markdown
Member

Sorry this took a long time, life got busy. I did a release with this patch: https://github.com/vuejs/vue-test-utils/releases/tag/v1.3.4

@3rdvision

Copy link
Copy Markdown
Contributor Author

Sorry this took a long time, life got busy. I did a release with this patch: https://github.com/vuejs/vue-test-utils/releases/tag/v1.3.4

No problem. Thank you!

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.

2 participants