To get up and running, install the dependencies and run the tests:
yarn
yarn test
Here's what you need to know about the tests:
- The tests uses Jest snapshots.
- You can make changes and run
jest -u
(oryarn test -- -u
) to update the snapshots. Then rungit diff
to take a look at what changed. Always update the snapshots when opening a PR.
Run yarn format
to automatically format files.