Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

README updates

  • Loading branch information...
commit ce1d0588238afd25d9e3c0940cf1825ee62babd2 1 parent 1dc4a7a
@davglass davglass authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 nodejs-coverage/
6 nodejs-coverage/
@@ -13,15 +13,15 @@ Example
var coverage = require('yuitest-coverage');
-coverage.cover('/path/to/file', {
+coverage.cover('<file string to cover>', {
charset: 'utf8',
- name: 'A name for the file'
+ name: 'A name for the file in the output'
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
-coverage.cover('<string from a file>', callback); // also works
+coverage.cover('</path/to/file>', callback); // also works
Please sign in to comment.
Something went wrong with that request. Please try again.