Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
react-test-renderer: improve findByType() error message (#17439)
* 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.
- Loading branch information