Fix jest tests
Summary: https://www.facebook.com/groups/reactnativeoss/permalink/1627334037563224/ Differential Revision: D4357483 fbshipit-source-id: 32e9d91c2348e4046a5cfaa08eab34d1f4dd2f7e
This commit is contained in:
parent
3d12ddb1db
commit
8305743725
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue