mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 1228053. syncThenable in loop test code should have catch(), since some of the tests assume that Promise instances have a catch() method. r=mdeboer
This commit is contained in:
parent
b0a1ed59db
commit
cda7b2404e
@ -64,6 +64,8 @@ var LoopMochaUtils = (function(global, _) {
|
||||
throw result;
|
||||
};
|
||||
|
||||
this.catch = function() {};
|
||||
|
||||
asyncFn(this.resolve.bind(this), this.reject.bind(this));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user