diff --git a/lib/frameworks/jasmine.js b/lib/frameworks/jasmine.js index 4c9c108ac..03251729b 100644 --- a/lib/frameworks/jasmine.js +++ b/lib/frameworks/jasmine.js @@ -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; };