For consistency we make use of Conventional Commits. It's encouraged that commit messaging follow the format
<type>[optional scope]: <description>
To set up your work environment you'll need to use
To start work
$ yarn
$ yarn test:dev
Jest is used for the unit test framework. To run unit tests during development open a terminal instance and run
$ yarn test:dev
The requirements for code coverage are currently maintained around the 60%
to 80%
mark.
Updates that drop coverage below the current threshold should have their coverage expanded before being merged.
Settings for coverage can be found in package.json
$ yarn test
If you're having trouble getting an accurate code coverage report, or it's failing to provide updated results (i.e. you renamed files) you can try running
$ yarn test:clearCache