Skip to content

Commit

Permalink
Merge pull request #9974 from JimmyLv/patch-3
Browse files Browse the repository at this point in the history
docs: add example for more meaningful static storybookUrl file path
  • Loading branch information
shilman authored Feb 28, 2020
2 parents 04ba121 + e6f60cd commit 3ebcd4a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion addons/storyshots/storyshots-puppeteer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ import { puppeteerTest } from '@storybook/addon-storyshots-puppeteer';

initStoryshots({
suite: 'Puppeteer storyshots',
test: puppeteerTest({ storybookUrl: 'file:///path/to/my/storybook-static' }),
test: puppeteerTest({
storybookUrl: 'file:///path/to/my/storybook-static',
// storybookUrl: 'file://${path.resolve(__dirname, '../storybook-static')}'
}),
});
```

Expand Down

0 comments on commit 3ebcd4a

Please sign in to comment.