diff options
| author | Ethan Arrowood <[email protected]> | 2018-05-02 06:50:00 +1000 |
|---|---|---|
| committer | Nick Merwin <[email protected]> | 2018-05-01 13:50:00 -0700 |
| commit | 10d8b3ea5e15419500d717638469e95f0f2d29cc (patch) | |
| tree | 19e8e8a861a3fa770c1deb72c4095283f249cea7 /README.md | |
| parent | 720ee7c138990767573f453e66732d052d55e253 (diff) | |
| download | node-coveralls-10d8b3ea5e15419500d717638469e95f0f2d29cc.tar.xz node-coveralls-10d8b3ea5e15419500d717638469e95f0f2d29cc.zip | |
Update examples to include Jest (#183)
* Update examples to include Jest
Also included link to my project where I am successfully implementing jest coverage and travis-ci
* jest example command use pipe to coveralls
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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/) |
