diff --git a/packages/cli-exec/README.md b/packages/cli-exec/README.md index ec663837e..eb4eabc1f 100644 --- a/packages/cli-exec/README.md +++ b/packages/cli-exec/README.md @@ -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 @@ -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 diff --git a/packages/cli-snapshot/README.md b/packages/cli-snapshot/README.md index 10deedd78..39b2bc112 100644 --- a/packages/cli-snapshot/README.md +++ b/packages/cli-snapshot/README.md @@ -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 diff --git a/packages/sdk-utils/test/server.js b/packages/sdk-utils/test/server.js index 57d28efda..18b5a13a4 100644 --- a/packages/sdk-utils/test/server.js +++ b/packages/sdk-utils/test/server.js @@ -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,