Implemented hiding of disabled specs
This commit is contained in:
@@ -26,6 +26,7 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
var throwOnExpectationFailure = false;
|
||||
var stopOnSpecFailure = false;
|
||||
var random = true;
|
||||
var hidingDisabled = false;
|
||||
var seed = null;
|
||||
var handlingLoadErrors = true;
|
||||
var hasFailures = false;
|
||||
@@ -194,6 +195,14 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
random = !!value;
|
||||
};
|
||||
|
||||
this.hidingDisabled = function(value) {
|
||||
return hidingDisabled;
|
||||
};
|
||||
|
||||
this.hideDisabled = function(value) {
|
||||
hidingDisabled = !!value;
|
||||
};
|
||||
|
||||
this.randomTests = function() {
|
||||
return random;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user