Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/contribute/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Otherwise, if it affects the `Manager` (the outermost Storybook `iframe` where t

![Storybook manager preview](../_assets/addons/manager-preview.png)

The `yarn build` commands accepts arguments to help speed up your development workflow:
The `yarn build` command accepts arguments to help speed up your development workflow:

- `--all` will cause all packages to be built
- `--watch` will enable watch mode (and skip the watch mode prompt)
Expand Down Expand Up @@ -163,11 +163,11 @@ yarn test

<Callout variant="info" icon="💡">

Storybook relies on [Vitest](https://vitest.dev/) as part of it's testing suite. During the test run, if you spot that snapshot tests are failing, re-run the command with the `-u` flag to update them.
Storybook relies on [Vitest](https://vitest.dev/) as part of its testing suite. During the test run, if you spot that snapshot tests are failing, re-run the command with the `-u` flag to update them.

</Callout>

Doing this prevents last-minute bugs and is a great way to merge your contribution faster once you submit your pull request. Failing to do so will lead to one of the maintainers mark the pull request with the **Work in Progress** label until all tests pass.
Doing this prevents last-minute bugs and is a great way to merge your contribution faster once you submit your pull request. Failing to do so will lead to one of the maintainers marking the pull request with the **Work in Progress** label until all tests pass.

### Target `next` branch

Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/whats-a-story.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Of course, you can always update the story's code directly too:

<Video src="../_assets/get-started/edit-story-in-code-optimized.mp4" />

Stories are also helpful for checking that UI continues to look correct as you make changes. The `Button` component has four stories that show it in different use cases. View those stories now to confirm that your change to `Primary` didn’t introduce unintentional bugs in the other stories.
Stories are also helpful for checking that the UI continues to look correct as you make changes. The `Button` component has four stories that show it in different use cases. View those stories now to confirm that your change to `Primary` didn’t introduce unintentional bugs in the other stories.

<Video src="../_assets/get-started/example-button-browse-stories-optimized.mp4" />

Expand Down
Loading