|
@@ -114,7 +114,7 @@ describe('support download/upload progress interval and division #140 ', (report
|
114
|
114
|
.then((res) => {
|
115
|
115
|
return RNFetchBlob.fetch('POST', 'https://content.dropboxapi.com/2/files/upload', {
|
116
|
116
|
Authorization : `Bearer ${DROPBOX_TOKEN}`,
|
117
|
|
- 'Dropbox-API-Arg': '{\"path\": \"/rn-upload/intervalTest.png\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}',
|
|
117
|
+ 'Dropbox-API-Arg': '{\"path\": \"/rn-upload/intervalTest.txt\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}',
|
118
|
118
|
'Content-Type' : 'application/octet-stream',
|
119
|
119
|
}, RNFetchBlob.wrap(res.path()))
|
120
|
120
|
.uploadProgress({count : 10, interval : -1}, (current, total) => {
|