mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Increase wait timeout for api unit tests.
This commit is contained in:
parent
846038991c
commit
66563d0f95
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue