Change getUid return type from number to string

This commit is contained in:
Frederic Junod
2018-10-17 08:58:50 +02:00
parent a85099a36b
commit 041836c645
33 changed files with 78 additions and 92 deletions

View File

@@ -229,7 +229,7 @@ describe('ol.render.webgl.CircleReplay', function() {
replay.drawCircle(feature3.getGeometry(), feature3);
replay.startIndices.push(replay.indices.length);
const skippedFeatHash = {};
skippedFeatHash[getUid(feature2).toString()] = true;
skippedFeatHash[getUid(feature2)] = true;
replay.drawReplay(gl, context, skippedFeatHash, false);
expect(replay.setFillStyle_.calledOnce).to.be(true);