Jasmine testing a dropdown-toggle in Angular
I’m attempting to test a button.btn.dropdown-toggle
element created with bootstrap 5. When the Angular project is served, clicking the button changes its aria-expanded
attribute from false to true and it gains the class show
. While the button does not have a (click)
handler, clicking the button toggles the dropdown render.