This is a demo for the new @storybook/experimental-addon-test
package which brings an exciting Vitest integration to projects with Storybook.
- Install dependencies:
pnpm install
- Install Playwright browser binaries:
npx playwright install chromium
- Run tests with Vitest Browser mode:
pnpm run test
Read the announcement here: https://storybook.js.org/blog/storybook-8-3/
Check the official docs here: https://storybook.js.org/docs/writing-tests/vitest-plugin