Add class UserContext

This commit is contained in:
darthjee
2017-07-24 22:35:05 +02:00
parent 4cce7263c4
commit b0aac6b852
8 changed files with 139 additions and 18 deletions

View File

@@ -19,7 +19,7 @@ getJasmineRequireObj().QueueRunner = function(j$) {
this.clearStack = attrs.clearStack || function(fn) {fn();};
this.onException = attrs.onException || function() {};
this.catchException = attrs.catchException || function() { return true; };
this.userContext = attrs.userContext || {};
this.userContext = attrs.userContext || new j$.UserContext();
this.timeout = attrs.timeout || {setTimeout: setTimeout, clearTimeout: clearTimeout};
this.fail = attrs.fail || function() {};
this.globalErrors = attrs.globalErrors || { pushListener: function() {}, popListener: function() {} };