mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
docs: update the command to update the snapshot
This commit is contained in:
parent
1dccc275b1
commit
64e99bcb13
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user