Skip to content

Commit

Permalink
docs: update the command to update the snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 authored Jul 9, 2021
1 parent 1dccc27 commit 64e99bc
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 64e99bc

Please sign in to comment.