Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Using the Angular CLI!
You have completed Using the Angular CLI!
Preview
To wrap-up this workshop, let's take a quick look at how the CLI supports testing and how to eject your project from the CLI if you need to manually configure webpack.
Additional Learning
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
by making it easy to run any of our
projects unit tests or end to end tests.
0:00
When we created our app, and
also when we added a component and
0:00
service, the CLI added
spec files to our project.
0:04
Here's the spec file for
our app component.
0:08
And for our MyTestComponent,
and for our TestContentService.
0:13
These spec files are just simple stubs or
shells, we still need to update these
0:19
files with sensible unit tests
that'll test our apps functionality.
0:23
The CLI makes it easy to
run these unit tests,
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up