Ben Hsieh 8 anni fa
parent
commit
cd7958063a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      test/test-0.9.6.js

+ 1
- 1
test/test-0.9.6.js Vedi File

@@ -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) => {