mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 14:45:12 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user