Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Updated testing-libary.ts #352

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

Merged
timdeschryver merged 4 commits into testing-library:main from TrustNoOneElse:main
Jan 13, 2023
Merged

Conversation

Copy link
Contributor

@TrustNoOneElse TrustNoOneElse commented Jan 12, 2023

Addresses the breaking change which comes trough: angular/angular#48114
Fixes issue #350 .

Adresses the breaking change which comes trough angular/angular#48114 
@@ -7,7 +7,7 @@ import {
OnChanges,
SimpleChanges,
ApplicationInitStatus,
ɵisStandalone,
isStandalone,
Copy link
Member

@timdeschryver timdeschryver Jan 12, 2023

Choose a reason for hiding this comment

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

Do you know if this also works with Angular v15.0 ?

Copy link
Contributor Author

@TrustNoOneElse TrustNoOneElse Jan 12, 2023

Choose a reason for hiding this comment

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

Yes, it does not work with Angular v15.0 since they introduced this breaking change first at v15.1.

Copy link
Contributor Author

const colorControl = screen.getByRole('combobox', { name: /color/i }); in both testcases in the file src/app/examples/04-forms-with-material.spec.ts
Im not sure yet why, but i excluded the case to find out that this lines throws the error with Maximum call stack

@timdeschryver timdeschryver merged commit 072e79f into testing-library:main Jan 13, 2023
Copy link
Member

@all-contributors please add @TrustNoOneElse for code

Copy link
Contributor

@timdeschryver

I've put up a pull request to add @TrustNoOneElse! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@timdeschryver timdeschryver timdeschryver approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /