Skip to content

Commit

Permalink
Update examples to include Jest (#183)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Ethan-Arrowood authored and nickmerwin committed May 1, 2018
1 parent 720ee7c commit 10d8b3e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -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/)
Expand Down

0 comments on commit 10d8b3e

Please sign in to comment.