-
Notifications
You must be signed in to change notification settings - Fork 57
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
Usage with Mocha #34
Comments
Hey, did you have a chance to review this? :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
I am trying to make this work with Mocha, Enzyme, and Chai-Jasmine.
I think I have the facades configured correctly but when I import my Mocha test file it does not hook into the specs function on Storybook.
The section on Mocha says you can import tests directly from test files, but it switches back to talking about Jest. Is this possible with Mocha tests?
I have a boilerplate project where I am debugging it here:
https://github.com/gregorskii/redux-starter
Where I have made the necessary configs files:
.storybook/facade.js:
https://github.com/gregorskii/redux-starter/blob/master/.storybook/facade.js
Mocha Config Helper:
https://github.com/gregorskii/redux-starter/blob/master/test/unit/spec/helpers/storybook.js
Storybook File:
https://github.com/gregorskii/redux-starter/blob/master/src/components/welcome/welcome-storybook.jsx
Do you think you can provide some guidance on how to get this working/ if this config should/will work?
Thanks!
The text was updated successfully, but these errors were encountered: