Fix jest tests

Summary: https://www.facebook.com/groups/reactnativeoss/permalink/1627334037563224/

Differential Revision: D4357483

fbshipit-source-id: 32e9d91c2348e4046a5cfaa08eab34d1f4dd2f7e
This commit is contained in:
Mike Grabowski 2016-12-21 07:54:49 -08:00 committed by Facebook Github Bot
parent 3d12ddb1db
commit 8305743725
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ jest
// Ensure this doesn't throw. // Ensure this doesn't throw.
try { try {
Object.keys(dataBlob).forEach(key => { Object.keys(dataBlob).forEach(key => {
this.items += object[key] && ( this.items += dataBlob[key] && (
object[key].length || object[key].size || 0 dataBlob[key].length || dataBlob[key].size || 0
) )
}); });
} catch (e) { } catch (e) {