Skip to content

Commit 74a3e77

Browse files
committed
fix flow typing
1 parent 47c1509 commit 74a3e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-test-renderer/src/ReactTestRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ class ReactTestInstance {
347347
findByType(type: any): ReactTestInstance {
348348
return expectOne(
349349
this.findAllByType(type, {deep: false}),
350-
`with node type: "${getComponentName(type)}"`,
350+
`with node type: "${getComponentName(type) || 'Unknown'}"`,
351351
);
352352
}
353353

0 commit comments

Comments
 (0)