-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiSnapshotWithOptions names snapshot like first file in current folder #3152
Comments
I am going to work on storyshots after the 3.4. One of the things is to make multisnapshot more configurable. |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
@igor-dv hi, any updates? Maybe I can help with something? |
Still didn't manage to work on the refactoring, but you are welcome to help |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Will be able to do with extending the |
Released as |
Issue details
I'm using multiSnapshotWithOptions to generate multiple snapshots
For example I have next stories in the folder
folder/BBB.stories.js
folder/CCC.stories.js
I expect storyshot will create snapshot file with name 'myStory' or two files for BBB and CCC. But it creates snapshots/BBB.stories.storyshot (just first file in the folder in alphabetical order).
If I will create file AAA.stories.js and update snapshots it will remove snapshots/BBB.stories.storyshot and create new wile snapshots/AAA.stories.storyshot
Please specify which version of Storybook and optionally any affected addons that you're running
The text was updated successfully, but these errors were encountered: