Selaa lähdekoodia

Change progress test file path

Ben Hsieh 8 vuotta sitten
vanhempi
commit
f1721670c5
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2
    2
      test/tests.js

+ 2
- 2
test/tests.js Näytä tiedosto

@@ -101,13 +101,13 @@ ctx.describe('Compare uploaded multipart image', async function(report) {
101 101
 
102 102
 ctx.describe('Progress report test', (report) => new Promise((resolve) => {
103 103
 
104
-  let p1 = RNFetchBlob.fetch('GET', `${TEST_SERVER_URL}/public/github.png`, {
104
+  let p1 = RNFetchBlob.fetch('GET', `${TEST_SERVER_URL}/public/22mb-dummy`, {
105 105
       Authorization : 'Bearer abde123eqweje'
106 106
     })
107 107
   let log = []
108 108
 
109 109
   p1.onProgress = (written, total) => {
110
-    log.push(<Info key={`progress = ${written} bytes / ${total} bytes`}></Info>)
110
+    log.push(<Info key={`progress = ${written} bytes / ${total} bytes`}/>)
111 111
     if(written === total)
112 112
       log.push(<Assert key="progress goes to 100%" expect={written} actual={total}/>)
113 113
     report(...log)