diff --git a/README.md b/README.md index e5229236..df52f416 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,13 @@ There are optional environment variables for other build systems as well: * COVERALLS_RUN_AT (a date string for the time that the job ran. RFC 3339 dates work. This defaults to your build system's date/time if you don't set it.) * COVERALLS_PARALLEL (more info here: https://coveralls.zendesk.com/hc/en-us/articles/203484329) +### [Jest](https://facebook.github.io/jest/) +- Install [jest](https://facebook.github.io/jest/docs/en/getting-started.html) +- Use the following to run tests and push files to coveralls: +```sh +jest --coverage --coverageReporters=text-lcov | coveralls +``` +Check out an example [here](https://github.com/Ethan-Arrowood/harperdb-connect/blob/master/.travis.yml) which makes use of Travis-CI build stages ### [Mocha](http://mochajs.org/) + [Blanket.js](https://github.com/alex-seville/blanket) - Install [blanket.js](http://blanketjs.org/)