diff --git a/aio/content/guide/testing-components-basics.md b/aio/content/guide/testing-components-basics.md index afc08ad8a63..28d2cb2d975 100644 --- a/aio/content/guide/testing-components-basics.md +++ b/aio/content/guide/testing-components-basics.md @@ -54,6 +54,12 @@ When a component has dependencies, you might want to use the `TestBed` to both c The following `WelcomeComponent` depends on the `UserService` to know the name of the user to greet. +
+ +Remember to either *import* or *provide* each standalone component you want to test. + +
+ You might start by creating a mock of the `UserService` that meets the minimum needs of this component.