You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
744 B
28 lines
744 B
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
|
|
import { HeaderComponent } from './header.component';
|
|
import { TranslateModule } from '@ngx-translate/core';
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
describe('HeaderComponent', () => {
|
|
let component: HeaderComponent;
|
|
let fixture: ComponentFixture<HeaderComponent>;
|
|
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [
|
|
RouterModule.forRoot([]),
|
|
HeaderComponent,
|
|
TranslateModule.forRoot(),
|
|
],
|
|
});
|
|
fixture = TestBed.createComponent(HeaderComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|