Skip to content
loading...

re: Tutorial: Developing an angular app driven by tests VIEW POST

TOP OF THREAD FULL DISCUSSION
re: This is great, Martin! So many examples say you should write the tests first, but then demonstrate how the framework works by writing the tests sec...
 

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...

 
code of conduct - report abuse