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
git clone https://github.com/storybooks/storybook.git
cd storybook
npm install
npm run bootstrap -- --core
Ran npm test
I get the following errors:
> storybook@3.0.0 test /Users/arpankotecha/src/react/storybook
> jest --projects ./ ./examples/react-native-vanilla
● Validation Error:
Module <rootDir>/node_modules/react-native/jest/setup.js in the setupFiles option was not found.
Configuration Documentation:
https://facebook.github.io/jest/docs/configuration.html
npm ERR! Test failed. See above for more details.
Do I need to do anything before I can run tests?
The text was updated successfully, but these errors were encountered:
@arpankotecha In order to run all unit tests (including the ones for react-native) you have to have bootstrapped the react-native part of the codebase too!
You can either run: npm run bootstrap -- --core --reactnative
or npm run bootstrap and then select 'core' and 'react-native-vanilla'
Sorry our documentation is a bit lacking here, I'm working on improving this.
For anyone having an issue with the unknown option `--react-native-vanilla' error, it seems the --react-native-vanilla flag has been changed to --reactnative.
I'm running:
mac osx 10.12.5
npm 5.3
Followed the following instructions:
Ran
npm test
I get the following errors:
Do I need to do anything before I can run tests?
The text was updated successfully, but these errors were encountered: