import 'brace' ; import 'brace/mode/json' ; import { registerTestBed } from '@kbn/test/jest' ; import { Editor , Props } from './editor' ; describe ( 'Editor Component' , ( ) => { it ( 'renders' , async ( ) => { const props = { initialValue : '' , licenseEnabled : true , onEditorReady : ( e ) => { } , } ; const init = registerTestBed ( Editor ) ; await init ( props ) ; } ) ; } ) ;