Skip to content

Instantly share code, notes, and snippets.

@IAfanasovMob
Created October 8, 2019 11:49
Show Gist options
  • Select an option

  • Save IAfanasovMob/c11d8b210ca48a0928eadbb667409ad2 to your computer and use it in GitHub Desktop.

Select an option

Save IAfanasovMob/c11d8b210ca48a0928eadbb667409ad2 to your computer and use it in GitHub Desktop.
describe('AppComponent', () => {
let component: AppComponent;
let fixture: ComponentFixture<AppComponent>;
let httpMock: HttpTestingController;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [HttpClientTestingModule],
declarations: [AppComponent]
})
.compileComponents();
httpMock = TestBed.get(HttpTestingController);
}));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment