We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, to set up API hooks, you need to create a custom jest config.
Here's a strawman API for adding the API hooks that doesn't require ejecting:
// .storybook/test-runner.js module.exports = { hooks: { preRender: (page, context) => { ... }, postRender: (page, context) => { ... } }, }
Notes:
.storybook
// jest-config.js try { const { hooks } = require('.storybook/test-runner'); .. } catch(err) {}
The text was updated successfully, but these errors were encountered:
implemented a slightly different design in #53
Sorry, something went wrong.
No branches or pull requests
Currently, to set up API hooks, you need to create a custom jest config.
Here's a strawman API for adding the API hooks that doesn't require ejecting:
Notes:
.storybook
directory, and maybe we should consider that for the jest config alsoThe text was updated successfully, but these errors were encountered: