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

Commit 30586b9

Browse files
committed
Change test case
1 parent e6bafa4 commit 30586b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/benchmark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ false && describe('upload BASE64 v.s. Storage', (report, done) => {
3131

3232
RNFetchBlob
3333
.config({ path : storageFile })
34-
.fetch('get', target)
34+
.fetch('GET', target)
3535
.then((res) => res.readFile('base64'))
3636
.then((data) => {
3737
b64data = data
@@ -170,8 +170,8 @@ false && describe('write file BASE64 v.s. URI', (report, done) => {
170170

171171
describe('read file benchmark', (report, done) => {
172172

173-
let iteration = 200
174-
let target = `${TEST_SERVER_URL}/public/6mb-dummy`
173+
let iteration = 50
174+
let target = `${TEST_SERVER_URL}/public/1mb-dummy`
175175
let source = dirs.DocumentDir + '/benchmark3-source'
176176
let res = {}
177177
RNFetchBlob.fetch('GET', target)

0 commit comments

Comments
 (0)