docs: more overview feedback changes (#25663)

PR Close #25663
This commit is contained in:
Brandon Roberts
2018-09-19 14:15:49 -05:00
committed by Kara Erickson
parent bd42caf1c7
commit 9b14483824
5 changed files with 25 additions and 34 deletions

View File

@ -48,7 +48,7 @@ describe('FavoriteColorComponent', () => {
input.value = 'Red';
input.dispatchEvent(event);
tick();
fixture.detectChanges();
expect(component.favoriteColor).toEqual('Red');
}));

View File

@ -1,4 +1,4 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';
@Component({
selector: 'app-template-favorite-color',
@ -7,12 +7,6 @@ import { Component, OnInit } from '@angular/core';
`,
styles: []
})
export class FavoriteColorComponent implements OnInit {
export class FavoriteColorComponent {
favoriteColor = '';
constructor() { }
ngOnInit() {
}
}