Merge pull request #2256 from brendandahl/increase-wait
Increase wait timeout for api unit tests.
This commit is contained in:
commit
ab0576a2a7
@ -10,7 +10,7 @@ describe('api', function() {
|
|||||||
function waitsForPromise(promise) {
|
function waitsForPromise(promise) {
|
||||||
waitsFor(function() {
|
waitsFor(function() {
|
||||||
return promise.isResolved || promise.isRejected;
|
return promise.isResolved || promise.isRejected;
|
||||||
}, 1000);
|
}, 4000);
|
||||||
}
|
}
|
||||||
function expectAfterPromise(promise, successCallback) {
|
function expectAfterPromise(promise, successCallback) {
|
||||||
waitsForPromise(promise);
|
waitsForPromise(promise);
|
||||||
|
Loading…
Reference in New Issue
Block a user