Skip to content

Commit ed4a6e7

Browse files
Merge branch 'WebPageTest:master' into runTestAndWait
2 parents a1212fc + 9c85865 commit ed4a6e7

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

lib/mapping.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,6 +1184,10 @@ var options = {
11841184
valid:
11851185
/^(?:dot|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity)$/,
11861186
},
1187+
proxy: {
1188+
name: "proxy",
1189+
info: "set the proxy used to fetch results",
1190+
},
11871191
},
11881192
waterfall: {
11891193
type: {

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpagetest",
3-
"version": "0.5.1",
3+
"version": "0.6.0",
44
"description": "WebPageTest API wrapper for NodeJS",
55
"author": "WebPageTest <[email protected]> (http://github.com/WebPageTest)",
66
"homepage": "http://github.com/WebPageTest/webpagetest-api",
@@ -20,7 +20,9 @@
2020
"url": "http://github.com/WebPageTest/webpagetest-api/issues"
2121
},
2222
"main": "lib/webpagetest.js",
23-
"bin": "bin/webpagetest",
23+
"bin": {
24+
"webpagetest": "bin/webpagetest"
25+
},
2426
"scripts": {
2527
"test": "./node_modules/mocha/bin/mocha -R spec test/*-test.js"
2628
},

test/fixtures/command-line/help-results.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Options:
1818
-S, --specs <json_or_file> set the specs for performance test suite
1919
-r, --reporter <name> set performance test suite reporter output:
2020
[dot]|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity
21+
--proxy set the proxy used to fetch results
2122
-e, --request <id> echo request ID, useful to track asynchronous
2223
requests
2324
-h, --help display help for command

test/fixtures/command-line/help-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,5 @@ Options:
173173
--reporter <name> set performance test suite reporter
174174
output:
175175
[dot]|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity
176+
--proxy set the proxy used to fetch results
176177
-h, --help display help for command

0 commit comments

Comments
 (0)