concept test component in category angular

appears as: testing components, test components, test component
Testing Angular Applications

This is an excerpt from Manning's book Testing Angular Applications.

You test router and component interactions by following the same pattern of testing you’d use for any other parts of Angular, so what you’ve already learned about testing components and services applies. The only difference is that in these tests, you’ll use the Angular RouterTestingModule, a built-in testing utility that was created for such scenarios.