import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FooterComponent } from './footer.component'; import { RouterModule } from '@angular/router'; import { TranslateModule } from '@ngx-translate/core'; describe('FooterComponent', () => { let component: FooterComponent; let fixture: ComponentFixture; beforeEach(() => { TestBed.configureTestingModule({ imports: [FooterComponent, RouterModule.forRoot([]), TranslateModule.forRoot()], }); fixture = TestBed.createComponent(FooterComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });