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