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