How to test PrimeNG components? #3343
Unanswered
JHarrisGTI
asked this question in
PrimeNG
Replies: 1 comment
-
I wonder if this is related to this patch note regarding upgrading to Angular 19:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! When I upgrade to PrimeNG 19, a number of my unit tests stopped working. While attempting to fix them, I'm having a lot of trouble querying for PrimeNG components and getting them to do stuff.
I made a small example showing the sort of thing I'm having trouble with: https://stackblitz.com/~/github.com/JHarrisGTI/multiselect-testing?initialPath=/?id=63276061 It has a
jest
branch and akarma
branch. In both cases, you'll see 1 test failure because I can't query for the multiselect I've added to the page.It would be great if we could get some documentation about how to unit test PrimeNG components.
Beta Was this translation helpful? Give feedback.
All reactions