-
-
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
Where should storybook config file be placed? #1075
Comments
That message is given when storyshots cannot find either |
@ndelangen, what am I doing wrong?
|
@stereodenis I'm not sure about the error, but I did spot one problem. You want: orderStories = storiesOf('OrderScene', module)
for( ... ) {
for ...
orderStories.add('name', () => <OrderScene ... />)
} Otherwise it will overwrite the story each time through the Does everything show up in Storybook OK? |
@ndelangen
but I still got the same
|
The error message you posted originally and are posting now are different! That last message is related to jest finding a spec / test file with 0
Either delete the testfile or write some tests in it. |
@ndelangen I want to use my stories to test snapshots |
@stereodenis You are importing I'm using react version, so check precise import for react-native yourself |
I try to place config.js file to:
%project%/storybook
%project%/App (where
__tests__
folder)The text was updated successfully, but these errors were encountered: