share usercontext for full suite

This commit is contained in:
Gregg Van Hove and Sheel Choksi
2014-03-03 11:57:32 -08:00
parent ec5695acc1
commit e17a2cb1e0
5 changed files with 84 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ getJasmineRequireObj().QueueRunner = function(j$) {
this.onException = attrs.onException || function() {};
this.catchException = attrs.catchException || function() { return true; };
this.enforceTimeout = attrs.enforceTimeout || function() { return false; };
this.userContext = {};
this.userContext = attrs.userContext || {};
this.timer = attrs.timeout || {setTimeout: setTimeout, clearTimeout: clearTimeout};
}