To contribute to this project you must accept our developer certificate of origin
Everyone is welcome to contribute with patches, bug-fixes and new features
- Create an issue on github so the community can comment on your idea
- Fork
nano
in github - Create a new branch
git checkout -b my_branch
- Create tests for the changes you made
- Make sure you pass both existing and newly inserted tests
- Commit your changes
- Push to your branch
git push origin my_branch
- Create a pull request
to run tests make sure you npm test but also run tests without mocks:
npm run unmocked
npm run mocked
npm test
Please fix all issues identified in the pre-commit hooks before sending your patch. if you don't, we will close the patch and ask you to re-open it once you have:
- 100% code coverage
- proper codestyle
- linted all your code
This is not a replacement for appropriate tests, please make sure that you have adequate coverage and thoroughly test the code you introduced.
You can add verbose debug messages while running tests by doing:
DEBUG=* node your_nano_scripts.js
You can turn nocks on and off using the NOCK_OFF
environment variable.