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