
committed by
Kara Erickson

parent
bd42caf1c7
commit
9b14483824
@ -48,7 +48,7 @@ describe('FavoriteColorComponent', () => {
|
||||
input.value = 'Red';
|
||||
input.dispatchEvent(event);
|
||||
|
||||
tick();
|
||||
fixture.detectChanges();
|
||||
|
||||
expect(component.favoriteColor).toEqual('Red');
|
||||
}));
|
||||
|
@ -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() {
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user