mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 10:33:43 +08:00
The generate tests in `app.component.spec.ts` are using `fixture.debugElement.componentInstance` whereas we can directly use `fixture.componentInstance`. This fixes the generated test to show a better example to users discovering unit tests.