1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Increase wait timeout for api unit tests.

This commit is contained in:
Brendan Dahl 2012-10-15 11:37:50 -07:00
parent 846038991c
commit 66563d0f95

View file

@ -10,7 +10,7 @@ describe('api', function() {
function waitsForPromise(promise) {
waitsFor(function() {
return promise.isResolved || promise.isRejected;
}, 1000);
}, 4000);
}
function expectAfterPromise(promise, successCallback) {
waitsForPromise(promise);