mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
68db7e4534
commit
dadf1d4ef7
@ -64,6 +64,8 @@ var LoopMochaUtils = (function(global, _) {
|
|||||||
throw result;
|
throw result;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.catch = function() {};
|
||||||
|
|
||||||
asyncFn(this.resolve.bind(this), this.reject.bind(this));
|
asyncFn(this.resolve.bind(this), this.reject.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user