Upgrade to angular v11
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { ReactiveFormsModule } from '@angular/forms';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
|
||||
@ -8,7 +8,7 @@ describe('ProfitLossComponent', () => {
|
||||
let component: ProfitLossComponent;
|
||||
let fixture: ComponentFixture<ProfitLossComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [ReactiveFormsModule, RouterTestingModule],
|
||||
declarations: [ProfitLossComponent],
|
||||
|
||||
Reference in New Issue
Block a user