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_Map_ from '../../../../../src/ol/Map.js';
|
||||
import _ol_View_ from '../../../../../src/ol/View.js';
|
||||
@@ -210,7 +210,7 @@ describe('ol.renderer.canvas.VectorLayer', function() {
|
||||
rotation: 0
|
||||
}
|
||||
};
|
||||
frameState.layerStates[_ol_.getUid(layer)] = {};
|
||||
frameState.layerStates[getUid(layer)] = {};
|
||||
renderer.forEachFeatureAtCoordinate(
|
||||
coordinate, frameState, 0, spy, undefined);
|
||||
expect(spy.callCount).to.be(1);
|
||||
|
||||
Reference in New Issue
Block a user