You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function DateTime({ dateTime }) {
return <span>{(dateTime || new Date()).toLocaleDateString(currentLocale)}</span>;
}
being included to any conventional component causes this component's test failing with
TypeError: inst.render is not a function
at ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext (node_modules/react/lib/ReactCompositeComponent.js:587:34)
at ReactCompositeComponentMixin._renderValidatedComponent (node_modules/react/lib/ReactCompositeComponent.js:607:32)
at ...
React 0.14.3, JEST 0.8.0, npm 3.5.2, node 5.2
Any suggestions on how to get rid of this?
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Functional component which looks like this
being included to any conventional component causes this component's test failing with
React 0.14.3, JEST 0.8.0, npm 3.5.2, node 5.2
Any suggestions on how to get rid of this?
The text was updated successfully, but these errors were encountered: