Left file: appwork-v1_5_2/angular-starter/src/app/home/home.component.spec.ts  
Right file: appwork-v1_6_0/angular-starter/src/app/home/home.component.spec.ts  
1 import { async, ComponentFixture, TestBed } from '@angular/core/testing'; <> 1 import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
2 import { AppService } from '../app.service'; = 2 import { AppService } from '../app.service';
3     3  
4 import { HomeComponent } from './home.component';   4 import { HomeComponent } from './home.component';
5     5  
6 describe('HomeComponent', () => {   6 describe('HomeComponent', () => {
7   let component: HomeComponent;   7   let component: HomeComponent;
8   let fixture: ComponentFixture<HomeComponent>;   8   let fixture: ComponentFixture<HomeComponent>;
9     9  
10   beforeEach(async(() => { <> 10   beforeEach(waitForAsync(() => {
11     TestBed.configureTestingModule({ = 11     TestBed.configureTestingModule({
12       providers: [ AppService ],   12       providers: [ AppService ],
13       declarations: [ HomeComponent ]   13       declarations: [ HomeComponent ]
14     })   14     })
15     .compileComponents();   15     .compileComponents();
16   }));   16   }));
17     17  
18   beforeEach(() => {   18   beforeEach(() => {
19     fixture = TestBed.createComponent(HomeComponent);   19     fixture = TestBed.createComponent(HomeComponent);
20     component = fixture.componentInstance;   20     component = fixture.componentInstance;
21     fixture.detectChanges();   21     fixture.detectChanges();
22   });   22   });
23     23  
24   it('should create', () => {   24   it('should create', () => {
25     expect(component).toBeTruthy();   25     expect(component).toBeTruthy();
26   });   26   });
27 });   27 });