import React from 'react' ; import ReactDOM from 'react-dom' ; import CellEditorValidation , { ICellEditorValidationMessageProps , } from './CellEditorValidationMessage' ; const props = { message : '' , } ; it ( 'renders without crashing' , ( ) => { const element = document . createElement ( 'td' ) ; ReactDOM . render ( < CellEditorValidation { ... props } / > , element ) ; ReactDOM . unmountComponentAtNode ( element ) ; } ) ;