[Pkg-javascript-commits] [node-coveralls] 91/332: Update README.md

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:53:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-coveralls.

commit 169b169da4f504e172c50d63a9b496f96f68bc9b
Author: Dmytro Nemoga <Dmytro.Nemoga at gmail.com>
Date:   Fri Aug 16 16:23:18 2013 +0300

    Update README.md
    
    Added short example for Istanbul section
---
 README.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index daea331..8af24fb 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,9 @@ YOURPACKAGE_COVERAGE=1 ./node_modules/.bin/mocha test -R mocha-lcov-reporter | .
 Check out an example [Makefile](https://github.com/cainus/urlgrey/blob/master/Makefile) from one of my projects for an example, especially the test-coveralls build target.  Note: Travis runs `npm test`, so whatever target you create in your Makefile must be the target that `npm test` runs (This is set in package.json's 'scripts' property).
 
 ### [Istanbul](https://github.com/gotwarlost/istanbul)
-TODO
+```sh
+istanbul cover ./node_modules/mocha/bin/mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
+```
 
 ### [Nodeunit](https://github.com/caolan/nodeunit) + [JSCoverage](https://github.com/fishbar/jscoverage)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git



More information about the Pkg-javascript-commits mailing list