Skip to content

Commit

Permalink
fix(docs): mention snapshots in CONTRIBUTING.md (#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
prymitive committed Oct 5, 2019
1 parent ade15ae commit 4870e0c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Expand Up @@ -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
Expand Down

0 comments on commit 4870e0c

Please sign in to comment.