import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { CustomComponent } from './custom.component'; import { BoxModule } from 'angular-admin-lte'; describe('CustomComponent', () => { let component: CustomComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ imports: [ BoxModule ], declarations: [ CustomComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(CustomComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });