Please see the Contributing to Karma guide for information on contributing to this project.
Before filing a PR, ensure that:
- Tests pass.
- Linting passes.
- Commit linting passes.
See more details in each subsection below.
To run unit tests execute:
npm run unit-test
To run integration tests execute:
npm run integration-test
Tip: you can run both unit and integration tests in a single step via: npm test
.
To lint your contribution execute:
npm run lint
There are some lint problems that can be auto-fixed for you. Try the following command to trigger auto-fix:
npm run lint --fix
We enforce Angular's Commit Message Format in our commit history. To verify that your commits are syntactically correct, execute:
npm run commitlint -- \
--verbose \
--from `git merge-base origin/master HEAD`