Open andrejilderda opened 2 weeks ago
Fixed here: https://stackblitz.com/edit/github-iojcfk-hp8kn8?file=package.json
Key points:
Do we need to make this more explicit in the docs? @kylegach @kasperpeulen
That was indeed the case, thanks @shilman ! I've created a PR for updating the docs here: https://github.com/storybookjs/storybook/pull/28287. Feel free to make changes or close the PR if it’s not needed.
@andrejilderda Thanks so much for following up with a docs PR. That's really awesome!!! 🙌
Describe the bug
I’ve been attempting to mock modules in one of my projects following this guide, but I can’t get it to work. The mock is never displayed inside Storybook.
I created a minimal reproduction with just a string that is exported to demonstrate the issue.
Reproduction link
https://stackblitz.com/edit/github-iojcfk
Reproduction steps
Dummy
-component renders: 🟨 actual moduleSystem
Additional context
I might be missing something or horribly wrong in my approach. Any guidance or suggestions to resolve this issue would be greatly appreciated!