otter icon indicating copy to clipboard operation
otter copied to clipboard

[draft] test: example of usage of ng-mocks for the unit tests

Open fpaul-1A opened this issue 2 years ago • 1 comments

Proposed change

When unit testing a component, we want to mock all (most of) its dependencies, this can be tedious ng-mocks already does that with very limited code to add on our side It can put spys on all dependencies and make it easy to mock a specific implementation as well

Related issues

  • :bug: Fixes #(issue)
  • :rocket: Feature #(issue)

fpaul-1A avatar Dec 19 '23 16:12 fpaul-1A