mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
FIX: tests. still need to add more tests tho
This commit is contained in:
parent
1b5fb1d8fc
commit
a350fadea6
@ -7,12 +7,12 @@ describe('lib/caronte/common.js', function () {
|
||||
var outgoing = {};
|
||||
common.setupOutgoing(outgoing,
|
||||
{
|
||||
agent : '?',
|
||||
target: {
|
||||
host : 'hey',
|
||||
hostname : 'how',
|
||||
socketPath: 'are',
|
||||
port : 'you',
|
||||
agent : '?'
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -35,12 +35,12 @@ describe('lib/caronte/common.js', function () {
|
||||
it('set the port according to the protocol', function () {
|
||||
var outgoing = {};
|
||||
common.setupOutgoing(outgoing,
|
||||
{
|
||||
{
|
||||
agent : '?',
|
||||
target: {
|
||||
host : 'how',
|
||||
hostname : 'are',
|
||||
socketPath: 'you',
|
||||
agent : '?',
|
||||
protocol: 'https:'
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user