1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #2256 from brendandahl/increase-wait

Increase wait timeout for api unit tests.
This commit is contained in:
Yury Delendik 2012-10-15 13:31:49 -07:00
commit ab0576a2a7

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);