Merge branch 'hide-grey-specs' of https://github.com/SamFare/jasmine into SamFare-hide-grey-specs

- Merges #1561 from @SamFare
This commit is contained in:
Gregg Van Hove
2018-05-23 17:14:53 -07:00
9 changed files with 162 additions and 7 deletions

View File

@@ -791,6 +791,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;
@@ -959,6 +960,14 @@ getJasmineRequireObj().Env = function(j$) {
random = !!value;
};
this.hidingDisabled = function(value) {
return hidingDisabled;
};
this.hideDisabled = function(value) {
hidingDisabled = !!value;
};
this.randomTests = function() {
return random;
};