From 8305743725ed4244c04a16c56ba035e327a7d5c1 Mon Sep 17 00:00:00 2001 From: Mike Grabowski Date: Wed, 21 Dec 2016 07:54:49 -0800 Subject: [PATCH] Fix jest tests Summary: https://www.facebook.com/groups/reactnativeoss/permalink/1627334037563224/ Differential Revision: D4357483 fbshipit-source-id: 32e9d91c2348e4046a5cfaa08eab34d1f4dd2f7e --- jest/setup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jest/setup.js b/jest/setup.js index 9d28442c2..82def3152 100644 --- a/jest/setup.js +++ b/jest/setup.js @@ -48,8 +48,8 @@ jest // Ensure this doesn't throw. try { Object.keys(dataBlob).forEach(key => { - this.items += object[key] && ( - object[key].length || object[key].size || 0 + this.items += dataBlob[key] && ( + dataBlob[key].length || dataBlob[key].size || 0 ) }); } catch (e) {