You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my HTML I have this code for a 3rd party component:
<igx-chip(remove)="chipRemove()">
As part of my unit tests, I want to make sure that the (remove) piece is set to the chipRemove method. I did the below, which seems to work. Is there a better way to handle this if I don't care about the actual data being emitted, just that it's being called?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my HTML I have this code for a 3rd party component:
As part of my unit tests, I want to make sure that the
(remove)
piece is set to thechipRemove
method. I did the below, which seems to work. Is there a better way to handle this if I don't care about the actual data being emitted, just that it's being called?Beta Was this translation helpful? Give feedback.
All reactions