Add missing semicolon
This commit is contained in:
@@ -28,7 +28,7 @@ describe('ol.renderer.canvas.Layer', function() {
|
||||
};
|
||||
renderer.getImageTransform = function() {
|
||||
return goog.vec.Mat4.createNumberIdentity();
|
||||
}
|
||||
};
|
||||
ol.renderer.Map.prototype.calculateMatrices2D(frameState);
|
||||
var layerState = layer.getLayerState();
|
||||
var context = {
|
||||
@@ -41,7 +41,7 @@ describe('ol.renderer.canvas.Layer', function() {
|
||||
lineTo: sinon.spy(),
|
||||
clip: sinon.spy(),
|
||||
drawImage: sinon.spy()
|
||||
}
|
||||
};
|
||||
renderer.composeFrame(frameState, layerState, context);
|
||||
expect(context.save.callCount).to.be(1);
|
||||
expect(context.translate.callCount).to.be(0);
|
||||
|
||||
@@ -111,7 +111,7 @@ describe('ol.renderer.canvas.VectorTileLayer', function() {
|
||||
var tile;
|
||||
tileCallback = function(t) {
|
||||
tile = t;
|
||||
}
|
||||
};
|
||||
map.renderSync();
|
||||
expect(tile.getProjection()).to.equal(ol.proj.get('EPSG:3857'));
|
||||
expect(feature1.getGeometry().getCoordinates()).to.eql(
|
||||
@@ -124,7 +124,7 @@ describe('ol.renderer.canvas.VectorTileLayer', function() {
|
||||
tileCallback = function(t) {
|
||||
t.setProjection(proj);
|
||||
tile = t;
|
||||
}
|
||||
};
|
||||
map.renderSync();
|
||||
expect(tile.getProjection()).to.equal(proj);
|
||||
expect(feature1.getGeometry().getCoordinates()).to.eql([1, -1]);
|
||||
|
||||
Reference in New Issue
Block a user