Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 892 Bytes

CONTRIBUTING.md

File metadata and controls

32 lines (23 loc) · 892 Bytes

running the tests

$ npm test

This will check that the files are formatted correctly with prettier, that you have not broken any of the non-format-related "standard" eslint rules, and that all the tests in the test/ directory pass.

To fix code formatting issues:

$ eslint --fix

If you would like to format your code automatically when you save a file, there are many ways to set that up. See the "Editor Integration" of the Prettier docs for details.

getting code coverage details

$ npm run cover

This will run the tests and generate a coverage report on the command line as well as open a web browser with an HTML code coverage report.