mirror of
https://github.com/prymitive/karma
synced 2026-08-19 11:36:24 +00:00
fix(docs): mention snapshots in CONTRIBUTING.md (#1005)
This commit is contained in:
@@ -36,6 +36,15 @@ UI is written using [React](https://reactjs.org), follow user guide for
|
||||
[create-react-app](https://github.com/facebook/create-react-app) to make
|
||||
changes to the UI code.
|
||||
|
||||
Some UI tests are using [snapshots](https://jestjs.io/docs/en/snapshot-testing).
|
||||
After making changes that affect how existing components are rendered please
|
||||
run:
|
||||
|
||||
cd ui && npm test -- -u
|
||||
|
||||
to update all snapshots. Remember to commit those changes when making a pull
|
||||
request.
|
||||
|
||||
## Running
|
||||
|
||||
To build and start `karma` from local branch see `Running` section of the
|
||||
|
||||
Reference in New Issue
Block a user