Skip to content

Commit

Permalink
Fix jest tests
Browse files Browse the repository at this point in the history
Summary: https://www.facebook.com/groups/reactnativeoss/permalink/1627334037563224/

Differential Revision: D4357483

fbshipit-source-id: 32e9d91c2348e4046a5cfaa08eab34d1f4dd2f7e
  • Loading branch information
grabbou authored and facebook-github-bot committed Dec 21, 2016
1 parent 3d12ddb commit 8305743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jest/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8305743

Please sign in to comment.