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

Commit

Permalink
fix(grep): change excluded tests to disabled instead of pending (#4673)
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenzheng authored and qiyigg committed Mar 28, 2018
1 parent 9348ccf commit c63b99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/frameworks/jasmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ exports.run = function(runner, specs) {
spec.getFullName().match(new RegExp(jasmineNodeOpts.grep)) != null;
var invertGrep = !!(jasmineNodeOpts && jasmineNodeOpts.invertGrep);
if (grepMatch == invertGrep) {
spec.pend();
spec.disable();
}
return true;
};
Expand Down

0 comments on commit c63b99e

Please sign in to comment.