import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RhBasicDrawerComponent } from './basic-drawer.component'; describe('BasicDrawerComponent', () => { let component: RhBasicDrawerComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [RhBasicDrawerComponent], teardown: { destroyAfterEach: false } }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(RhBasicDrawerComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });