mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] Dont use -i when running vows because it supresses --target= and --proxy= CLI arguments
This commit is contained in:
parent
a454666e7a
commit
1783ab0625
@ -35,8 +35,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "npm run-script test-http && npm run-script test-https",
|
||||
"test-http": "vows --spec -i && vows --spec -i --target=https",
|
||||
"test-https": "vows --spec -i --proxy=https && vows --spec -i --proxy=https --target=https",
|
||||
"test-http": "vows --spec && vows --spec --target=https",
|
||||
"test-https": "vows --spec --proxy=https && vows --spec --proxy=https --target=https",
|
||||
"test-core": "test/core/run"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@ -46,7 +46,7 @@ Object.defineProperty(exports, 'protocols', {
|
||||
//
|
||||
Object.defineProperty(exports, 'nextPort', {
|
||||
get: function () {
|
||||
var current = this.port || 8000;
|
||||
var current = this.port || 9050;
|
||||
this.port = current + 1;
|
||||
return current;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user