Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit f172167

Browse files
committed
Change progress test file path
1 parent a6a55c5 commit f172167

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ ctx.describe('Compare uploaded multipart image', async function(report) {
101101

102102
ctx.describe('Progress report test', (report) => new Promise((resolve) => {
103103

104-
let p1 = RNFetchBlob.fetch('GET', `${TEST_SERVER_URL}/public/github.png`, {
104+
let p1 = RNFetchBlob.fetch('GET', `${TEST_SERVER_URL}/public/22mb-dummy`, {
105105
Authorization : 'Bearer abde123eqweje'
106106
})
107107
let log = []
108108

109109
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`}/>)
111111
if(written === total)
112112
log.push(<Assert key="progress goes to 100%" expect={written} actual={total}/>)
113113
report(...log)

0 commit comments

Comments
 (0)