Extend timeouts on slow async mapillary tests

Trying to avoid false test failures.  Default timeout is 2sec, and we can't
be sure slow async tests will finish in that time esp. in a CI environment
This commit is contained in:
Bryan Housel
2019-04-30 09:59:28 -04:00
parent 2fde32ce9f
commit 0a4e2c03a3
+2
View File
@@ -100,6 +100,7 @@ describe('iD.serviceMapillary', function() {
});
it('loads multiple pages of image results', function(done) {
this.timeout(10000);
var calls = 0;
mapillary.on('loadedImages', function() {
server.respond(); // respond to new fetches
@@ -193,6 +194,7 @@ describe('iD.serviceMapillary', function() {
});
it('loads multiple pages of signs results', function(done) {
this.timeout(10000);
var calls = 0;
mapillary.on('loadedSigns', function() {
server.respond(); // respond to new fetches