Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

v2.3.0

Choose a tag to compare

@trotzig trotzig released this 27 Nov 11:30

This minor release adds support for a new --skippedExamples option that you can use when making the happo-e2e finalize call. The examples you list in the --skippedExamples array are then skipped (assumed unchanged) when Happo makes a comparison with another report.

The --skippedExamples option needs to be an array coded as a JSON string. Each item in the array needs a component, variant, and target, all strings. Here's an example call:

happo-e2e finalize --skippedExamples '[{"component":"Button","variant":"default","target":"chrome-small"}]'

Remember to skip examples in all targets you have defined in .happo.js. If you for instance have targets named "chrome-small" & "firefox-large" in .happo.js, you should add two items per snapshot you are skipping. E.g.

happo-e2e finalize --skippedExamples '[{"component":"Button","variant":"default","target":"chrome-small"}, {"component":"Button","variant":"default","target":"firefox-large"}]'