import { LayoutTypes } from '../../common' ; import { createLayout , Layout } from '.' ; export function createMockLayout ( ) { const layout = createLayout ( { id : LayoutTypes . PRESERVE_LAYOUT , dimensions : { height : 100 , width : 100 } , zoom : 1 , } ) as Layout ; layout . selectors = { renderComplete : 'renderedSelector' , itemsCountAttribute : 'itemsSelector' , screenshot : 'screenshotSelector' , renderError : '[dataRenderErrorSelector]' , renderErrorAttribute : 'dataRenderErrorSelector' , timefilterDurationAttribute : 'timefilterDurationSelector' , } ; return layout ; }