Add focused describe

[#73742944]
This commit is contained in:
Greg Cobb and Tim Jarratt
2014-08-28 15:43:59 -07:00
parent caee1508d1
commit d7ab9083be
2 changed files with 32 additions and 0 deletions

View File

@@ -293,6 +293,12 @@ getJasmineRequireObj().Env = function(j$) {
return suite;
};
this.fdescribe = function(description, specDefinitions) {
var suite = this.describe(description, specDefinitions);
focusedRunnables.push(suite.id);
return suite;
};
var runnablesExplictlySet = false;
var runnablesExplictlySetGetter = function(){