May 2018
Intermediate to advanced
512 pages
11h 3m
English
There are two failing unit tests. In Jasmine lingo, unit tests are called specs, implemented by the it function; it functions are organized under the describe functions that contains helper methods that can execute before or after each test and handle the overall configuration needs of specs. Your app has five specs that have been generated for you, and two of them are now failing.
The first is AppComponent should have as title 'app'; however, we deleted this property from AppComponent, because we are not using it. In this rare case, we need to do this:
Read now
Unlock full access