Skip to content

Commit

Permalink
Merge branch 'master' into fix/5910
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Nov 27, 2019
2 parents 7d2dfc2 + 9982ef1 commit 90d3382
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions addons/storyshots/storyshots-core/README.md
Expand Up @@ -636,13 +636,15 @@ This is a class that generates snapshot's name based on the story (kind, story &
Let's say we wanted to create a test function for shallow && multi-file snapshots:

```js
import initStoryshots, { getSnapshotFileName } from '@storybook/addon-storyshots';
import initStoryshots, { Stories2SnapsConverter } from '@storybook/addon-storyshots';
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';

const converter = new Stories2SnapsConverter();

initStoryshots({
test: ({ story, context }) => {
const snapshotFileName = getSnapshotFileName(context);
const snapshotFileName = converter.getSnapshotFileName(context);
const storyElement = story.render();
const shallowTree = shallow(storyElement);

Expand Down
2 changes: 1 addition & 1 deletion docs/src/versions/next.json
@@ -1 +1 @@
{"version":"5.3.0-beta.3","info":{"plain":"### Features\n\n* Addon-docs: Rich props table UI ([#8887](https://github.com/storybookjs/storybook/pull/8887))\n* Addon-docs: Improve basic support for Flow props ([#8890](https://github.com/storybookjs/storybook/pull/8890))\n* CLI: Avoid id changes after `storiesof-to-csf` migration ([#8856](https://github.com/storybookjs/storybook/pull/8856))\n\n### Bug Fixes\n\n* Addon-docs: Fix props table for sections props ([#8904](https://github.com/storybookjs/storybook/pull/8904))\n* Addon-docs: Fix Description block when no component provided ([#8902](https://github.com/storybookjs/storybook/pull/8902))\n* Angular: Fix project without `architect.build` option ([#6737](https://github.com/storybookjs/storybook/pull/6737))\n\n### Maintenance\n\n* Addon-docs: Docgen lib maintenance ([#8896](https://github.com/storybookjs/storybook/pull/8896))\n* Examples: Fix stories glob in official-storybook ([#8888](https://github.com/storybookjs/storybook/pull/8888))"}}
{"version":"5.3.0-beta.10","info":{"plain":"### Features\n\n* MDX: Allow user to override `docs.container` parameter ([#8968](https://github.com/storybookjs/storybook/pull/8968))\n* Addon-docs: Increase docs content wrapper max-width to 1000px ([#8970](https://github.com/storybookjs/storybook/pull/8970))\n* Addon-docs: Prop table support for Angular directives ([#8922](https://github.com/storybookjs/storybook/pull/8922))\n* Addon-docs: Increase width of props table type column ([#8950](https://github.com/storybookjs/storybook/pull/8950))\n\n### Bug Fixes\n\n* Addon-docs: Fix `Preview` theming escape hatch ([#8969](https://github.com/storybookjs/storybook/pull/8969))\n* Core: Don't try to require .ts files from dist ([#8971](https://github.com/storybookjs/storybook/pull/8971))\n* Core: Use logger in base-webpack.config.js ([#8966](https://github.com/storybookjs/storybook/pull/8966))\n\n### Maintenance\n\n* Examples: Add \"debug\" script for storybook-official ([#8973](https://github.com/storybookjs/storybook/pull/8973))\n* Build: Upgrade to node 10 on netlify ([#8967](https://github.com/storybookjs/storybook/pull/8967))\n* Core/triconfig everywhere: migrate examples ([#8942](https://github.com/storybookjs/storybook/pull/8942))"}}

1 comment on commit 90d3382

@vercel
Copy link

@vercel vercel bot commented on 90d3382 Nov 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

ENOENT: no such file or directory, stat '/tmp/yKi1fdHcSEB9VnQLTau56vpY/repo/examples/official-storybook/built-storybooks/angular-cli'

Please sign in to comment.