Fixes RasterSource tests
Puppeteer/TestSuite seems to have problems with webworker so threads is set to 0
This commit is contained in:
@@ -9,6 +9,7 @@ const raster = new RasterSource({
|
|||||||
url: '/data/tiles/osm/{z}/{x}/{y}.png',
|
url: '/data/tiles/osm/{z}/{x}/{y}.png',
|
||||||
transition: 0
|
transition: 0
|
||||||
})],
|
})],
|
||||||
|
threads: 0, // Avoid using workers to work with puppeteer
|
||||||
operation: function(pixels) {
|
operation: function(pixels) {
|
||||||
const pixel = pixels[0];
|
const pixel = pixels[0];
|
||||||
const red = pixel[0];
|
const red = pixel[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user