Skip to content

Commit

Permalink
Merge pull request #2571 from storybooks/tmeasday/note-jest-changes
Browse files Browse the repository at this point in the history
Add note about #2570
  • Loading branch information
shilman committed Dec 27, 2017
2 parents 9eb0623 + 3806e71 commit 813654e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- [From version 3.2.x to 3.3.x](#from-version-32x-to-33x)
- [Refactored Knobs](#refactored-knobs)
- [Storyshots Jest configuration](#storyshots-jest-configuration)
- [From version 3.1.x to 3.2.x](#from-version-31x-to-32x)
- [Moved TypeScript addons definitions](#moved-typescript-addons-definitions)
- [Updated Addons API](#updated-addons-api)
Expand Down Expand Up @@ -33,6 +34,16 @@ In the case of Vue: `import { ... } from '@storybook/addon-knobs/vue';`

In the case of Angular: `import { ... } from '@storybook/addon-knobs/angular';`

### Storyshots Jest configuration

Storyshots users will need to add a line to their `jest.config.js`:

```js
transformIgnorePatterns: ['/node_modules/(?!lodash-es/.*)'],
```

We are working to resolve the issue that requires this: https://github.com/storybooks/storybook/issues/2570

## From version 3.1.x to 3.2.x

**NOTE:** technically this is a breaking change, but only if you use TypeScript. Sorry people!
Expand Down

0 comments on commit 813654e

Please sign in to comment.