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

Commit 4f6b31b

Browse files
committed
Add test case for #33
1 parent 8f318b7 commit 4f6b31b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test-0.1.x-0.4.x.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ describe('DELETE request test', (report, done) => {
141141
RNFetchBlob.fetch('DELETE', `${TEST_SERVER_URL}/hey`)
142142
.then((resp) => {
143143
report(
144-
<Assert key="check DELETE request result" expect={'man'} actual={resp.text()}/>,
144+
<Assert key="check DELETE request result" expect={'man'} actual={resp.text()}/>)
145145
done()
146146
})
147147
})

test/test-init.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const { Assert, Comparer, Info, describe, prop } = RNTest
1818
// test environment variables
1919

2020
prop('FILENAME', `${Platform.OS}-0.5.0-${Date.now()}.png`)
21-
prop('TEST_SERVER_URL', 'http://192.168.16.70:8123')
22-
prop('TEST_SERVER_URL_SSL', 'https://192.168.16.70:8124')
21+
prop('TEST_SERVER_URL', 'http://192.168.0.11:8123')
22+
prop('TEST_SERVER_URL_SSL', 'https://192.168.0.11:8124')
2323
prop('DROPBOX_TOKEN', 'fsXcpmKPrHgAAAAAAAAAoXZhcXYWdgLpQMan6Tb_bzJ237DXhgQSev12hA-gUXt4')
2424
prop('styles', {
2525
image : {

0 commit comments

Comments
 (0)