Revision 61353
Added by Stefania Martziou almost 3 years ago
app.component.spec.ts | ||
---|---|---|
1 |
import { TestBed, async } from '@angular/core/testing';
|
|
1 |
import { TestBed, waitForAsync } from '@angular/core/testing';
|
|
2 | 2 |
import { RouterTestingModule } from '@angular/router/testing'; |
3 | 3 |
import { AppComponent } from './app.component'; |
4 | 4 |
|
5 | 5 |
describe('AppComponent', () => { |
6 |
beforeEach(async(() => {
|
|
6 |
beforeEach(waitForAsync(() => {
|
|
7 | 7 |
TestBed.configureTestingModule({ |
8 | 8 |
imports: [ |
9 | 9 |
RouterTestingModule |
Also available in: Unified diff
Merging angular-upgrade branch