From fd15744fcaf38c5b2669a1f480b068499fbcf25d Mon Sep 17 00:00:00 2001 From: Bob Watson Date: Tue, 12 Jul 2022 16:42:57 -0700 Subject: [PATCH] docs: add warning about lack of testing used by TOH (#46811) Adds a short note about how the .spec.ts testing files aren't used or modified in this tutorial. Fixes #37652 PR Close #46811 --- aio/content/tutorial/toh-pt0.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/aio/content/tutorial/toh-pt0.md b/aio/content/tutorial/toh-pt0.md index a34c89690c4..5ba027dde67 100644 --- a/aio/content/tutorial/toh-pt0.md +++ b/aio/content/tutorial/toh-pt0.md @@ -89,8 +89,7 @@ They display data on the screen, listen for user input, and take action based on ## Make changes to the application Open the project in your favorite editor or IDE. Navigate to the `src/app` directory to edit the starter application. - -Note that the implementation of the shell `AppComponent` distributed over three files: +In the IDE, locate these files, which make up the `AppComponent` that you just created: | Files | Details | |:--- |:--- | @@ -98,6 +97,17 @@ Note that the implementation of the shell `AppComponent` distributed over three | `app.component.html` | The component template, written in HTML. | | `app.component.css` | The component's private CSS styles. | +
+ +When you ran `ng new`, Angular created test specifications for your new application. +Making these changes, however, breaks your newly created specifications. + +That won't be a problem because Angular testing is outside the scope of this tutorial and won't be used. + +To learn more about testing with Angular, see [Testing](guide/testing). + +
+ ### Change the application title Open the `app.component.ts` and change the `title` property value to 'Tour of Heroes'.