Does it make sense to have spec file for angular m

2019-08-30 03:23发布

问题:

I saw that when creating a new Angular module via the CLI a spec file is generated along. However I couldn't figure out how to mock the dependencies with Jest right away and I started questioning if they add any value?

Here some discussion on the topic with no clear definition: https://github.com/angular/angular-cli/issues/11277