You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
What do you guys think about having these two config options:
storyKindRegex
andstoryNameRegex
instead of the currentstoryRegex
?storyNameRegex
would behave just as the existingstoryRegex
, whilestoryKindRegex
would match against the story's kind, giving users more flexibility.For example, it could be used to solve #84 doing something like this:
Which will cause storyshots (or jest actually) to output a
__snapshots__
directory colocated with the component and with just its storyshots.If you think it is a good idea, I'm happy to submit a PR!
The text was updated successfully, but these errors were encountered: