Warning, /firebird/firebird-ng/src/app/pages/help/help.component.spec.ts is written in an unsupported language. File is not indexed.
0001 import { ComponentFixture, TestBed } from '@angular/core/testing';
0002
0003 import { HelpComponent } from './help.component';
0004 import {HttpHandler, provideHttpClient, withInterceptorsFromDi} from "@angular/common/http";
0005 import {provideHttpClientTesting} from "@angular/common/http/testing";
0006
0007 describe('HelpComponent', () => {
0008 let component: HelpComponent;
0009 let fixture: ComponentFixture<HelpComponent>;
0010
0011 beforeEach(async () => {
0012 await TestBed.configureTestingModule({
0013 imports: [HelpComponent],
0014 providers: [
0015 provideHttpClient(withInterceptorsFromDi()),
0016 provideHttpClientTesting(),
0017 { provide: HttpHandler, useClass: class MockHttpHandler {} }
0018 ]
0019 })
0020 .compileComponents();
0021
0022 fixture = TestBed.createComponent(HelpComponent);
0023 component = fixture.componentInstance;
0024 fixture.detectChanges();
0025 });
0026
0027 it('should create', () => {
0028 expect(component).toBeTruthy();
0029 });
0030 });