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
I am using a decorator for mocking one of my import, however, I did not find a way to pass parameters to the mocked import when rendering an exported story into a jest/react-library test.
See here, the problematic test (skipped at the moment):
I am using a decorator for mocking one of my import, however, I did not find a way to pass parameters to the mocked import when rendering an exported story into a jest/react-library test.
See here, the problematic test (skipped at the moment):
TravelList/__tests__/todoList.unit.test.jsx
Line 36 in 9b793da
Documentation for using decorators to mock imports: https://storybook.js.org/docs/riot/workflows/build-pages-with-storybook#mocking-imports
Relevant information: storybookjs/storybook#10145
The text was updated successfully, but these errors were encountered: