Rename for stack-clearing post spec run to be more clear; use the real setTimeout when clearing stack

This commit is contained in:
Davis W. Frank and Sheel Choksi
2013-07-02 09:51:41 -07:00
parent 2916a8a1ff
commit f5bc9faf63
5 changed files with 17 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ getJasmineRequireObj().Suite = function() {
this.onStart = attrs.onStart || function() {};
this.completeCallback = attrs.completeCallback || function() {};
this.resultCallback = attrs.resultCallback || function() {};
this.encourageGC = attrs.encourageGC || function(fn) {fn();};
this.clearStack = attrs.clearStack || function(fn) {fn();};
this.beforeFns = [];
this.afterFns = [];