Build APIbldr/node-tools
NodeVisualOptions
A declared visual-snapshot target, plus the baselines that feed it.
interface in bldr/node-tools
A declared visual-snapshot target, plus the baselines that feed it.
Properties
baselines: string
property
Where the checked-in snapshots live. Defaults to
visual/__screenshots__.
env: Record<string, string>
property
Extra environment for the run.
generated: { … }[]
property
Generated trees the suite serves, such as a built site or Storybook.
See Directory.
image: any
property
The image the suite runs in, when it needs a browser.
outDir: string
property
Where it writes its report. Defaults to test-out.
report: string
property
Which files in outDir are the report. Defaults to **/*.json.
script: string
property
The package.json script. Defaults to test:json.
updateEnv: string
property
The variable that puts the suite in update mode. Defaults to
UPDATE_SNAPSHOTS.