Use named exports from ol/index.js
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import _ol_ from '../../../../../src/ol/index.js';
|
||||
import {getUid} from '../../../../../src/ol/index.js';
|
||||
import _ol_Feature_ from '../../../../../src/ol/Feature.js';
|
||||
import _ol_geom_Circle_ from '../../../../../src/ol/geom/Circle.js';
|
||||
import _ol_render_webgl_CircleReplay_ from '../../../../../src/ol/render/webgl/CircleReplay.js';
|
||||
@@ -232,7 +232,7 @@ describe('ol.render.webgl.CircleReplay', function() {
|
||||
replay.drawCircle(feature3.getGeometry(), feature3);
|
||||
replay.startIndices.push(replay.indices.length);
|
||||
var skippedFeatHash = {};
|
||||
skippedFeatHash[_ol_.getUid(feature2).toString()] = true;
|
||||
skippedFeatHash[getUid(feature2).toString()] = true;
|
||||
|
||||
replay.drawReplay(gl, context, skippedFeatHash, false);
|
||||
expect(replay.setFillStyle_.calledOnce).to.be(true);
|
||||
|
||||
Reference in New Issue
Block a user