Skip to content

Commit a3f7dfc

Browse files
[fix]UT
1 parent 0c9fe8b commit a3f7dfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/openlayers/overlay/GraphicSpec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ describe('openlayers_GraphicLayer', () => {
684684
});
685685
map.addLayer(graphicLayer);
686686
const source = graphicLayer.getSource();
687+
source.renderer = {};
687688
source._forEachFeatureAtCoordinate([0, 0], 1, (result) => {
688689
expect(result).not.toBeNull();
689690
});

0 commit comments

Comments
 (0)