Browse Source

Fix firebase test case

Ben Hsieh 8 years ago
parent
commit
3e11e1b123
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      test/test-firebase.js

+ 2
- 1
test/test-firebase.js View File

57
     <Info key="user content" uid="user data">
57
     <Info key="user content" uid="user data">
58
       <Text>{JSON.stringify(user)}</Text>
58
       <Text>{JSON.stringify(user)}</Text>
59
     </Info>)
59
     </Info>)
60
-    done()
60
+    if(user)
61
+      done()
61
   })
62
   })
62
 })
63
 })
63
 
64