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.
|
// 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) {
|
||||||
|
|
Loading…
Reference in New Issue