Properly record finishing an xdescribe so further cleanup works

Fix #724
This commit is contained in:
slackersoft
2014-12-09 12:40:00 -08:00
parent ba9c863de9
commit 8bb2f67fb3
3 changed files with 39 additions and 2 deletions

View File

@@ -240,8 +240,8 @@ getJasmineRequireObj().Env = function(j$) {
resultCallback: function(attrs) {
if (!suite.disabled) {
clearResourcesForRunnable(suite.id);
currentlyExecutingSuites.pop();
}
currentlyExecutingSuites.pop();
reporter.suiteDone(attrs);
}
});