aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Arrowood <[email protected]>2018-05-02 06:50:00 +1000
committerNick Merwin <[email protected]>2018-05-01 13:50:00 -0700
commit10d8b3ea5e15419500d717638469e95f0f2d29cc (patch)
tree19e8e8a861a3fa770c1deb72c4095283f249cea7
parent720ee7c138990767573f453e66732d052d55e253 (diff)
downloadnode-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
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index e522923..df52f41 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/)