diff --git a/app/containers/FormContainer.js b/app/containers/FormContainer.js index 560e41fff..763e98df6 100644 --- a/app/containers/FormContainer.js +++ b/app/containers/FormContainer.js @@ -41,6 +41,7 @@ const FormContainer = ({ children, theme, testID }) => ( FormContainer.propTypes = { theme: PropTypes.string, + testID: PropTypes.string, children: PropTypes.element }; diff --git a/app/views/RoomInfoView/Item.js b/app/views/RoomInfoView/Item.js index 1263fbc82..b2503c2e3 100644 --- a/app/views/RoomInfoView/Item.js +++ b/app/views/RoomInfoView/Item.js @@ -6,7 +6,9 @@ import styles from './styles'; import Markdown from '../../containers/markdown'; import { themes } from '../../constants/colors'; -const Item = ({ label, content, theme, testID }) => ( +const Item = ({ + label, content, theme, testID +}) => ( content ? ( {label} @@ -21,7 +23,8 @@ const Item = ({ label, content, theme, testID }) => ( Item.propTypes = { label: PropTypes.string, content: PropTypes.string, - theme: PropTypes.string + theme: PropTypes.string, + testID: PropTypes.string }; export default Item;