Pull requests are always welcome!
Here are a few guidelines that will help you along the way…
You can execute the Jest test suite with this command:
npm test
If you want to run a specific test, add the name of the test (or part of it), like so:
npm test -- mockStore
Basically, use the command like you would use the jest
command, while all
command line options come after the two dashes.
Run tests in watch mode:
npm test -- --watch
Update snapshots:
npm test -- --updateSnapshot
…or simply…
npm test -- -u