Skip to content

Commit

Permalink
filter out --only and --grep skip messages
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 25, 2017
1 parent efd024d commit 0f474d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/test.js
Expand Up @@ -127,7 +127,7 @@ Test.prototype.sub = function (Class, extra, caller) {
}

if (this.runOnly && !extra.only) {
extra.skip = true
extra.skip = 'filter: only'
}

if (extra.todo || extra.skip) {
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -32,7 +32,7 @@
"signal-exit": "^3.0.0",
"source-map-support": "^0.4.3",
"stack-utils": "^1.0.0",
"tap-mocha-reporter": "^3.0.5",
"tap-mocha-reporter": "^3.0.6",
"tap-parser": "^5.3.1",
"tmatch": "^3.1.0",
"trivial-deferred": "^1.0.1",
Expand Down

0 comments on commit 0f474d9

Please sign in to comment.