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 committed Feb 2, 2020
1 parent 57d4958 commit 21b3dee
Showing 1 changed file with 1 addition and 1 deletion.
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 21b3dee

Please sign in to comment.