Skip to content

Commit

Permalink
Merge pull request #5943 from storybooks/fix/chromatic-delay
Browse files Browse the repository at this point in the history
ADD delay to rendering the acceptance stories
  • Loading branch information
shilman authored Mar 7, 2019
2 parents 927eaab + 5c9385b commit 521a6a4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const style = {
'preact-kitchen-sink',
].forEach(name => {
chapter.add(name, () => <iframe style={style} title={name} src={`${name}/index.html`} />, {
chromatic: { delay: 2000 },
notes: `You must build the storybook for the ${name} example for this story to work.`,
});
});

0 comments on commit 521a6a4

Please sign in to comment.