diff --git a/test/spec/ol/source/rastersource.test.js b/test/spec/ol/source/rastersource.test.js index 28a807ee76..0d4d10fe17 100644 --- a/test/spec/ol/source/rastersource.test.js +++ b/test/spec/ol/source/rastersource.test.js @@ -11,16 +11,7 @@ var blue = 'data:image/gif;base64,R0lGODlhAQABAPAAAAAA/////yH5BAAAAAAALAAAAA' + var itNoPhantom = window.checkForMocha ? xit : it; -var hasImageDataConstructor = true; -try { - new ImageData(1, 1); -} catch (e) { - hasImageDataConstructor = false; -} - -var maybeDescribe = hasImageDataConstructor ? describe : xdescribe; - -maybeDescribe('ol.source.Raster', function() { +describe('ol.source.Raster', function() { var target, map, redSource, greenSource, blueSource, raster;