-
-
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
Add storyshots watch compatability for jest --watch and wallaby #2936
Comments
cc @igor-dv |
I'll try to take a look at it next week. |
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! |
As you can imagine I failed to take a look. Hope will get to it soon |
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! |
I have a related problem. If I have setup a precommit hook with jest, and I create a file, say: A fix to this or a hint of how to get around this would be much appreciated. |
I assume that these all are related also to #3483. |
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 any idea how to solve this? or a workaround? |
@thomasbertet added a fix to the |
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, thanks for your great work. Are there any updates on this? |
The change was not adopted here yet |
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! |
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! |
It was released. |
for any future people finding this thread, i actually ended up writing a little script to run in the I wrote up how i did it here: https://codeburst.io/react-native-storybook-generating-individual-test-files-to-snapshot-bdbda32625ce |
Issue details
As per #2259, with storyshots there is one
storyshots.test.js
file so every time i change a story file,jest --watch
or wallaby re-runs all the stories which is a bit slow.Is there a way to correctly setup multiple jest tests, one per story file so the dependency chain is correct?
Happy to submit a PR but thought someone might have some ideas how I'd approach this?
Many thanks
Here is my
storyshots.test.ts
file where i'm using react native, typescript and prefer multiple snapshot files generated using enzyme shallow.and my
storyshots.config.js
which just loads the stories dynamically generated tostoryLoader.js
usingreact-native-storybook-loader
(https://github.com/elderfo/react-native-storybook-loader)The text was updated successfully, but these errors were encountered: