Browse Source

Add test cases #44

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

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

@@ -65,7 +65,7 @@ describe('firebase login', (report, done) => {
65 65
 describe('upload file to firebase', (report, done) => {
66 66
 
67 67
   // create Blob from BASE64 data
68
-  let blob = new Blob(RNTest.prop('image'), 'image/png;BASE64')
68
+  let blob = new Blob(RNTest.prop('image'), { type : 'image/png;BASE64'})
69 69
   let testImage = `firebase-test-${Platform.OS}-${new Date().toLocaleString()}.png`
70 70
   RNTest.prop('firebase-image', testImage)
71 71
   // start test after Blob created

+ 2
- 2
test/test-init.js View File

@@ -65,7 +65,7 @@ describe('GET image from server', (report, done) => {
65 65
 // require('./test-0.6.2')
66 66
 // require('./test-0.6.3')
67 67
 // require('./test-0.7.0')
68
-require('./test-0.8.0')
68
+// require('./test-0.8.0')
69 69
 // require('./test-fs')
70 70
 require('./test-firebase')
71
-// require('./test-android')
71
+require('./test-android')