Fix tile state condition in raster layer test

The state was duplicated from the beginning, see 3ddb8712a3
This commit is contained in:
Frederic Junod
2019-04-08 17:04:36 +02:00
parent 3875147812
commit 746f92d597

View File

@@ -402,7 +402,7 @@ where('Uint8ClampedArray').describe('ol.source.Raster', function() {
map2.once('moveend', function() {
expect(tileCache.getCount()).to.equal(1);
const state = tileCache.peekLast().getState();
expect(state === TileState.LOADED || state === TileState.LOADED).to.be(true);
expect(state === TileState.LOADING || state === TileState.LOADED).to.be(true);
done();
});