Re:Ask HN: Is it time for a new Storybook?
by chantastic on Monday November 21, 2022 @01:41AM
(#33689572)
lmiller1990, have you experimented much with @storybook/test-runner?
I've found it pretty capable for doubling my stories as Jest tests. For those using testing-library for component testing, it even acts like a GUI for those tests.
I've found it pretty capable for doubling my stories as Jest tests. For those using testing-library for component testing, it even acts like a GUI for those tests.
If you're interested, I threw together a little walkthru that show some of the ways I'm using it with Jest: https://github.com/chantastic/vite-react-jest-testing-librar...