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
Provides good patterns for testing components. Plus it's not far from what we do rn: componentTestSetup -> render
And it's a way of testing that's framework agnostic. Installing another library would allow same tests to run on another framework. Though with caveats ofc. As all Angular - specific test setup would need a migration. Like the component class to render to start with. But a step towards that no matter what.
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
-
Provides good patterns for testing components. Plus it's not far from what we do rn:
componentTestSetup
->render
And it's a way of testing that's framework agnostic. Installing another library would allow same tests to run on another framework. Though with caveats ofc. As all Angular - specific test setup would need a migration. Like the component class to render to start with. But a step towards that no matter what.
https://github.com/testing-library/angular-testing-library
Beta Was this translation helpful? Give feedback.
All reactions