From 8f75c7d2189470ca887c4c93c409e21856cf864a Mon Sep 17 00:00:00 2001 From: Sam Linnett Date: Mon, 4 Feb 2019 13:35:36 +0000 Subject: [PATCH] displaying as in jest. Fix to display name --- Libraries/Image/Image.android.js | 1 + Libraries/Image/Image.ios.js | 1 + 2 files changed, 2 insertions(+) diff --git a/Libraries/Image/Image.android.js b/Libraries/Image/Image.android.js index c915608d4c3232..a4269be70360a2 100644 --- a/Libraries/Image/Image.android.js +++ b/Libraries/Image/Image.android.js @@ -259,6 +259,7 @@ let Image = ( }; Image = React.forwardRef(Image); +Image.displayName = 'Image'; /** * Retrieve the width and height (in pixels) of an image prior to displaying it diff --git a/Libraries/Image/Image.ios.js b/Libraries/Image/Image.ios.js index cb3ce45c82d6e9..7475caa0cf5b01 100644 --- a/Libraries/Image/Image.ios.js +++ b/Libraries/Image/Image.ios.js @@ -124,6 +124,7 @@ let Image = ( }; Image = React.forwardRef(Image); +Image.displayName = 'Image'; /** * Retrieve the width and height (in pixels) of an image prior to displaying it.