Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ“ Update readmes and sdk-utils test helpers #580

Merged
merged 2 commits into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/cli-exec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ USAGE
OPTIONS
-P, --port=port [default: 5338] server port
-c, --config=config configuration file path
-d, --dry-run print logs only, do not run asset discovery or upload snapshots
-h, --allowed-hostname=allowed-hostname allowed hostnames to capture in asset discovery
-q, --quiet log errors only
-t, --network-idle-timeout=network-idle-timeout asset discovery network idle timeout
Expand Down Expand Up @@ -61,6 +62,7 @@ USAGE
OPTIONS
-P, --port=port [default: 5338] server port
-c, --config=config configuration file path
-d, --dry-run print logs only, do not run asset discovery or upload snapshots
-h, --allowed-hostname=allowed-hostname allowed hostnames to capture in asset discovery
-q, --quiet log errors only
-t, --network-idle-timeout=network-idle-timeout asset discovery network idle timeout
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-snapshot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ARGUMENTS
OPTIONS
-b, --base-url=base-url the base url pages are hosted at when snapshotting
-c, --config=config configuration file path
-d, --dry-run prints a list of snapshots without processing them
-d, --dry-run print logs only, do not run asset discovery or upload snapshots
-h, --allowed-hostname=allowed-hostname allowed hostnames to capture in asset discovery
-q, --quiet log errors only
-t, --network-idle-timeout=network-idle-timeout asset discovery network idle timeout
Expand Down
2 changes: 2 additions & 0 deletions packages/sdk-utils/test/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ function context() {
`window.PercyDOM = { serialize: ${serializeDOM} }`)],
'/percy/healthcheck': () => [200, 'application/json', (
{ success: true, config: { snapshot: { widths: [1280] } } })],
'/percy/config': ({ body }) => [200, 'application/json', (
{ success: true, config: body })],
'/percy/snapshot': () => [200, 'application/json', { success: true }]
}, 5338), {
mock: mockServer,
Expand Down