From 1783ab0625743355eecc11f5cfd57469c429daa0 Mon Sep 17 00:00:00 2001 From: indexzero Date: Thu, 26 Jul 2012 04:57:02 -0400 Subject: [PATCH] [fix] Dont use `-i` when running vows because it supresses `--target=` and `--proxy=` CLI arguments --- package.json | 4 ++-- test/helpers/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2e1496e59..e3e4c9021 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/test/helpers/index.js b/test/helpers/index.js index 9543796af..7e3c3f488 100644 --- a/test/helpers/index.js +++ b/test/helpers/index.js @@ -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; }