24 lines
641 B
TypeScript
24 lines
641 B
TypeScript
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
import { HeaderComponent } from './header.component';
|
|
describe('HeaderComponent',
|
|
() => {
|
|
let component: HeaderComponent;
|
|
let fixture: ComponentFixture<HeaderComponent>;
|
|
beforeEach(
|
|
waitForAsync(() => {
|
|
TestBed.configureTestingModule({
|
|
declarations: [HeaderComponent],
|
|
}).compileComponents();
|
|
})
|
|
);
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(HeaderComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
it('should create',
|
|
() => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|