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

Commit e4a91e6

Browse files
committed
Change test case code.
1 parent 5b04a2a commit e4a91e6

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

test/package.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

test/test-server/server.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ app.listen(8123, function(err){
1414

1515
// app.use(bodyParser.raw())
1616

17+
app.use(function(req,res,next){
18+
19+
console.log(req.headers)
20+
21+
next()
22+
})
23+
1724
app.use(upload.any())
1825

1926
app.use('/public', express.static('./public'))

test/tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515

1616
const FILENAME = `${Platform.OS}-0.4.0-${Date.now()}.png`
1717
// paste your test config here
18-
const TEST_SERVER_URL = 'http://192.168.17.193:8123'
18+
const TEST_SERVER_URL = 'http://192.168.0.14:8123'
1919
const DROPBOX_TOKEN = 'fsXcpmKPrHgAAAAAAAAAoXZhcXYWdgLpQMan6Tb_bzJ237DXhgQSev12hA-gUXt4'
2020

2121
const ctx = new RNTest.TestContext()

0 commit comments

Comments
 (0)