import { ComponentFixture , TestBed } from '@angular/core/testing' ; import { RouterModule } from '@angular/router' ; import { ShellComponent } from './shell.component' ; describe ( 'ShellComponent' , ( ) => { let component ; let fixture ; beforeEach ( async ( ) => { TestBed . configureTestingModule ( { declarations : [ ShellComponent ] , imports : [ RouterModule . forRoot ( [ ] ) , ] , } ) ; await TestBed . compileComponents ( ) ; } ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( ShellComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;