mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
053347e6bc
* improve findByType error message * fix flow typing * Adding a test for the "Unknown" branch when `getComponentName()` returns a falsy value. The error message in this case not the most descriptive but seems consistent with the `getComponentName(type) || 'Unknown'` pattern seen in multiple places in this code base.