The storybook vitest addon is absolutely incredible. storybook.js.org/docs/writing...
Post
storybook.js.orgVitest addon | Storybook docsStorybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and documentation. It's open source and free.
Lastly, this also makes running tests selectively much easier. `pnpm vitest --run "Button.stories.tsx"` now just works. This is a really big DX improvement for us and also allows coding agents to write and run component tests. Very impressed with the library.
0 reposts1 like