Skip to content

Commit

Permalink
Merge pull request #130 from happo/fix-missing-interactive
Browse files Browse the repository at this point in the history
Don't skip interactive screenshots for first item
  • Loading branch information
trotzig authored Sep 18, 2024
2 parents b24b582 + c03f251 commit 8de290b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ window.happo.nextExample = async () => {
};

export function forceHappoScreenshot(stepLabel) {
if (!currentIndex) {
if (!examples) {
console.log(
`Ignoring forceHappoScreenshot with step label "${stepLabel}" since we are not currently rendering for Happo`,
);
Expand Down

0 comments on commit 8de290b

Please sign in to comment.