📗Storybook Setup
Setting up Storybook for running your tests
We use Storybook for building and showcasing components, and at the same time, we test it as well.
To set up a storybook for handshake, you can follow the steps mentioned in the Dashboard Setup. and after that.
Please run these commands:
npx playwright install --with-deps && npm i @swc/cli @swc/core
npm run storybook
for spinning the storybook servernpm run build-storybook
for building the storybook-staticnpm run test-storybook
for running the component tests
You can explore the rest of the commands inside the package.json
file.
Last updated