Testing Components
Testing Angular components requires some insight into the Angular @angular/core/testing
module. Though many features of Jasmine are used in Angular’s testing module there are some very specific wrappers and routines that Angular requires when testing components.
原文: https://angular-2-training-book.rangle.io/handout/testing/components/