From b196453ef9e8e2eaad1799b8fc013681f3446670 Mon Sep 17 00:00:00 2001 From: ftoromanoff Date: Wed, 2 Oct 2024 15:00:29 +0200 Subject: [PATCH] refactor(test): change timeout --- test/unit/fetcher.js | 3 ++- test/unit/potree2.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/unit/fetcher.js b/test/unit/fetcher.js index b2b60f6083..dc365947fb 100644 --- a/test/unit/fetcher.js +++ b/test/unit/fetcher.js @@ -70,7 +70,8 @@ describe('Fetcher', function () { describe('texture', function () { // Fetcher.texture always send a texture even with a false url... const url = 'https://data.geopf.fr/wmts?' + - 'LAYER=ORTHOIMAGERY.ORTHOPHOTOS&FORMAT=image/jpeg&SERVICE=WMTS&VERSION=1.0.0&' + + 'LAYER=ORTHOIMAGERY.ORTHOPHOTOS&FORMAT=image/jpeg' + + '&SERVICE=WMTS&VERSION=1.0.0&' + 'REQUEST=GetTile&STYLE=normal&' + 'TILEMATRIXSET=PM&TILEMATRIX=2&TILEROW=1&TILECOL=1'; it('should load a texture', (done) => { diff --git a/test/unit/potree2.js b/test/unit/potree2.js index e3740d7db9..ff1b48a0c7 100644 --- a/test/unit/potree2.js +++ b/test/unit/potree2.js @@ -62,7 +62,7 @@ describe('Potree2', function () { assert.equal(potreeLayer.group.children.length, 1); done(); }).catch(done); - }); + }).timeout(5000); it('postUpdate potree2 layer', function () { potreeLayer.postUpdate(context, potreeLayer);