Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated Readme

  • Loading branch information...
commit 8bde4d896e232fa776a8c8e448ad9c0511157b41 1 parent 5776b19
@davglass davglass authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 nodejs-coverage/README.md
View
6 nodejs-coverage/README.md
@@ -13,7 +13,11 @@ Example
var coverage = require('yuitest-coverage');
-coverage.cover('/path/to/file', function(err, data) {
+coverage.cover('/path/to/file', {
+ charset: 'utf8',
+ name: 'A name for the file'
+},
+function(err, data) {
//err will be populated with the stderr from the java process
//data will be a string of the covered contents, you write the file out
});
Please sign in to comment.
Something went wrong with that request. Please try again.