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

fix(test): stop re-running prototype augment in spec tests. #6105

Merged

Conversation

johnjenkins
Copy link
Contributor

@johnjenkins johnjenkins commented Jan 17, 2025

What is the current behavior?

Prototypes used to be re-written with every spec test. Because we re-use accessors now this re-writing no longer happes.

GitHub Issue Number: #6104

What is the new behavior?

A simple flag is set on the incoming prototype in proxyComponent during testing to make sure we don't re-augment it.

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

  • A new unit test to catch this has been added

Other information

@johnjenkins johnjenkins requested a review from a team as a code owner January 17, 2025 21:29
Copy link
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@christian-bromann christian-bromann merged commit a7d3873 into ionic-team:main Jan 21, 2025
72 checks passed
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