File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { ComponentFixture , TestBed } from '@angular/core/testing' ;
22
33import { BannerComponent } from './banner.component' ;
4+ import { HttpClientTestingModule } from '@angular/common/http/testing' ;
45
56describe ( 'BannerComponent' , ( ) => {
67 let component : BannerComponent ;
78 let fixture : ComponentFixture < BannerComponent > ;
89
910 beforeEach ( async ( ) => {
1011 await TestBed . configureTestingModule ( {
11- imports : [ BannerComponent ]
12+ imports : [ BannerComponent , HttpClientTestingModule ]
1213 } )
1314 . compileComponents ( ) ;
1415
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ export class GridComponent implements OnInit {
2020 }
2121
2222 redirectTo ( url : string ) : void {
23- // new tab
2423 window . open ( url , '_blank' ) ;
2524 }
2625}
You can’t perform that action at this time.
0 commit comments