Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #130 from gotwarlost/hints
Browse files Browse the repository at this point in the history
Allow parts of code to be skipped for the purposes of coverage reporting, fixes #15
  • Loading branch information
gotwarlost committed Dec 19, 2013
2 parents 3c92b79 + bc59131 commit 53d1cec
Show file tree
Hide file tree
Showing 13 changed files with 717 additions and 93 deletions.
6 changes: 3 additions & 3 deletions lib/command/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Command.prototype = {
type: function () {
return this.constructor.TYPE;
},
synopsis: function () {
synopsis: /* istanbul ignore next: base method */ function () {
return "the developer has not written a one-line summary of the " + this.type() + " command";
},
usage: function () {
usage: /* istanbul ignore next: base method */ function () {
console.error("the developer has not provided a usage for the " + this.type() + " command");
},
run: function (args, callback) {
run: /* istanbul ignore next: abstract method */ function (args, callback) {
return callback(new Error("run: must be overridden for the " + this.type() + " command"));
}
};
Expand Down
Loading

0 comments on commit 53d1cec

Please sign in to comment.