Skip to content

Commit

Permalink
fix(addon-storyshots): Remove excess slashes from jest transfor… (#9616)
Browse files Browse the repository at this point in the history
fix(addon-storyshots): Remove excess slashes from jest transform warning
  • Loading branch information
shilman authored Jan 23, 2020
2 parents 96037ad + 963ed75 commit f1b1a28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Stories2SnapsConverter {
To fix it, add following to your jest.config.js:
transform: {
// should be above any other js transform like babel-jest
'^.+\\\\.stories\\\\.js$': '@storybook/addon-storyshots/injectFileName',
'^.+\\.stories\\.js$': '@storybook/addon-storyshots/injectFileName',
}
`
);
Expand Down

0 comments on commit f1b1a28

Please sign in to comment.