Browse Source

Change progress test file path

Ben Hsieh 8 years ago
parent
commit
f1721670c5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      test/tests.js

+ 2
- 2
test/tests.js View File

101
 
101
 
102
 ctx.describe('Progress report test', (report) => new Promise((resolve) => {
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
       Authorization : 'Bearer abde123eqweje'
105
       Authorization : 'Bearer abde123eqweje'
106
     })
106
     })
107
   let log = []
107
   let log = []
108
 
108
 
109
   p1.onProgress = (written, total) => {
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
     if(written === total)
111
     if(written === total)
112
       log.push(<Assert key="progress goes to 100%" expect={written} actual={total}/>)
112
       log.push(<Assert key="progress goes to 100%" expect={written} actual={total}/>)
113
     report(...log)
113
     report(...log)