Skip to content

Commit

Permalink
fix flow typing
Browse files Browse the repository at this point in the history
  • Loading branch information
henryqdineen committed Nov 23, 2019
1 parent a61158e commit 278787b
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 @@ -335,7 +335,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 278787b

Please sign in to comment.