Skip to content

Commit

Permalink
fix flow typing
Browse files Browse the repository at this point in the history
  • Loading branch information
henryqdineen committed Feb 28, 2020
1 parent 47c1509 commit 74a3e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-test-renderer/src/ReactTestRenderer.js
Expand Up @@ -347,7 +347,7 @@ class ReactTestInstance {
findByType(type: any): ReactTestInstance {
return expectOne(
this.findAllByType(type, {deep: false}),
`with node type: "${getComponentName(type)}"`,
`with node type: "${getComponentName(type) || 'Unknown'}"`,
);
}

Expand Down

0 comments on commit 74a3e77

Please sign in to comment.