Skip to content

Commit

Permalink
Merge pull request #15540 from koba04/patch-3
Browse files Browse the repository at this point in the history
docs: update the command to update the snapshot
  • Loading branch information
shilman authored Jul 12, 2021
2 parents 79950a9 + 64e99bc commit 01555f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/contribute/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ yarn test
```

<div class="aside">
💡 Storybook uses <a href="https://jestjs.io/"><code>jest</code></a> as part of the testing suite, if you notice that the snapshot tests fail you can re-run and update them with <code>yarn test --update</code>.
💡 Storybook uses <a href="https://jestjs.io/"><code>jest</code></a> as part of the testing suite, if you notice that the snapshot tests fail you can re-run and update them with <code>yarn test -u</code>.
</div>

Doing this prevents last-minute bugs and is also a great way to get your contribution merged 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.
Expand Down

0 comments on commit 01555f7

Please sign in to comment.