Open fabioimpe opened 1 year ago
Do you a have a reproduction repo you can share? If not, can you create one? Go to https://storybook.new or see repro docs. Thank you! 🙏
@shilman here's the repro
Repo: https://github.com/fabioimpe/storybook-emotion-play-range-error-reproduction Chromatic: https://6435233c179c742c7e0f64c8-nbtfbdppcf.chromatic.com/?path=/story/components-button--simple
I don't know why in Chromatic the error message is not shown, but here's a screenshot of the failing test run:
Describe the bug
Adding a
play
function, even an empty one, to a Story using a component created with@emotion/styled
throws the following error:To Reproduce
Component.tsx
Component.stories.tsx
System
Additional context
No response