view-children.component.spec.ts should mock dependencies #472
jsmart523
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
spectator/projects/spectator/test/view-children/view-children.component.spec.ts
Line 14 in 08e5bae
Example unit tests should model good practices and this one is an integration test that uses ChildServiceService and ChildServiceComponent directly, which @NetanelBasal avoids. ;-)
Beta Was this translation helpful? Give feedback.
All reactions