DEV Community

Discussion on: Tutorial: Developing an angular app driven by tests

Collapse
 
layzee profile image
Lars Gyrup Brink Nielsen • Edited

We would import our shared MaterialModule in a TestBed with a declared TestComponent and verify that its template is able to render the Angular Material components that we expect the shared module to re-export.

Here is an example:
stackblitz.com/edit/ngx-module-tes...

Collapse
 
_maimart_ profile image
Martin Maier

Of course, you can do so.