storybookjs / testing-react

Testing utilities that allow you to reuse your Storybook stories in your React unit tests!
MIT License
588 stars 24 forks source link

Render functions in meta don't get composed into stories #104

Closed TeaSeaLancs closed 2 years ago

TeaSeaLancs commented 2 years ago

Describe the bug

If you have a story file with a render function in the meta, this render function is used correctly when viewing the story in Storybook, but not when composed using @storybook/testing-react

To Reproduce Steps to reproduce the behavior:

Expected behavior

yannbf commented 2 years ago

Closed by #103, should be available in 1.3.0! Thank you so much @TeaSeaLancs !