import { RenderCountField , RenderTimeField , } from '../../react-performance-testing/types' ; import { isNotMounted } from './errorMessage' ; export function toBeMounted ( this , received ) { if ( ! received ) { return isNotMounted ( ) ; } return { pass : true , message : ( ) => 'Specified component could be found.' , } ; }