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
I am trying to incorporate storyshots in my project. I have this jest config:
"moduleFileExtensions": [ "json", "js", "jsx" ],
Here is my test file content:
import React from 'react'; import renderer from 'react-test-renderer'; import initStoryshots from '@storybook/addon-storyshots'; import IconCell from './'; initStoryshots({ framework: 'react' }); test('iconcell', () => { expect(renderer.create(<IconCell size="normal" type="pause" />).toJSON()).toMatchSnapshot(); });
But it throws error:
Cannot find module '@storybook/react' from 'index.js'
The error thrown in node_modules/jest-resolve/build/index.js
node_modules/jest-resolve/build/index.js
The text was updated successfully, but these errors were encountered:
Can you check if this module: @storybook/react is installed, and if not, install it?
@storybook/react
Sorry, something went wrong.
No branches or pull requests
I am trying to incorporate storyshots in my project.
I have this jest config:
Here is my test file content:
But it throws error:
The error thrown in
node_modules/jest-resolve/build/index.js
The text was updated successfully, but these errors were encountered: