Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Adding instructions when using Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
tonymtz committed Mar 1, 2018
1 parent e78ef3d commit 824a215
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -86,6 +86,12 @@ Client-side JS code coverage using [PhantomJS](https://github.com/ariya/phantomj
./node_modules/.bin/poncho -R lcov test/test.html | ./node_modules/.bin/codacy-coverage
```

### [Jest]

```sh
jest --coverage && CODACY_PROJECT_TOKEN='xxxxxxxxxxxxx' | cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage
```

### [gulp](http://gulpjs.com/)
- Install & Configure [gulp-codacy](https://www.npmjs.com/package/gulp-codacy)

Expand Down

0 comments on commit 824a215

Please sign in to comment.