Skip to content

Commit 7d8f2c6

Browse files
fixed positioning in files
1 parent 8a76bb8 commit 7d8f2c6

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ wpt.runTest(script, (err, data) => {
588588
- **waitResults**: _String_, wait for test results informed by agent once complete listening on <hostname>:<port> [hostname:first port available above 8000]
589589
- **timeout**: _String_, timeout for polling and waiting results [no timeout]
590590
- **lighthouse**: _Boolean_, perform lighthouse test (Chrome only, Linux agent only)
591-
- **throttleCPU**: _Number_, custom cpu throttle
591+
- **throttleCPU**: _Number_, custom cpu throttling
592592

593593
#### API Key (works for `runTest`, `restartTest` and `cancelTest` methods)
594594

lib/mapping.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ var options = {
3131
info: "location to test from",
3232
},
3333

34-
//throttle_cpu param
35-
throttleCPU: {
36-
name: "throttleCPU",
37-
key: "thc",
38-
api: "throttle_cpu",
39-
param: "number",
40-
info: "custom cpu throttling",
41-
},
42-
4334
// Test Setting tab
4435
connectivity: {
4536
name: "connectivity",
@@ -246,6 +237,15 @@ var options = {
246237
info: "perform lighthouse test (Chrome only, Linux agent only)",
247238
},
248239

240+
//throttle_cpu param
241+
throttleCPU: {
242+
name: "throttleCPU",
243+
key: "thc",
244+
api: "throttle_cpu",
245+
param: "number",
246+
info: "custom cpu throttling",
247+
},
248+
249249
// Auth tab
250250
login: {
251251
name: "login",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Options:
6060
switches (Chrome only)
6161
--lighthouse perform lighthouse test (Chrome only,
6262
Linux agent only)
63+
-thc, --throttleCPU <number> custom cpu throttling
6364
-g, --login <username> username for authenticating tests (http
6465
authentication)
6566
-w, --password <password> password for authenticating tests (http
@@ -87,8 +88,7 @@ Options:
8788
-D, --bwdown <bandwidth> download bandwidth in Kbps (used when
8889
specifying a custom connectivity profile)
8990
-U, --bwup <bandwidth> upload bandwidth in Kbps (used when
90-
specifying a custom connectivity profile)
91-
-thc, --throttleCPU <number> custom cpu throttling
91+
specifying a custom connectivity profile)
9292
-bw, --browserwidth <pixels> Browser window width (in display pixels)
9393
-bh, --browserheight <pixels> Browser window height (in display pixels)
9494
-vh, --viewportheight <pixels> Viewport Height in css pixels

0 commit comments

Comments
 (0)