Remove lint
This commit is contained in:
@@ -39,9 +39,7 @@ describe('hitdetect', function () {
|
||||
0
|
||||
);
|
||||
expect(Array.prototype.slice.call(imageData.data, 0, 3)).to.eql([
|
||||
255,
|
||||
255,
|
||||
252,
|
||||
255, 255, 252,
|
||||
]);
|
||||
});
|
||||
it('detects hit at the correct position', function () {
|
||||
|
||||
@@ -271,18 +271,12 @@ describe('ol.render.canvas.Immediate', function () {
|
||||
};
|
||||
|
||||
const transform = [
|
||||
0.0004088332670837288,
|
||||
0,
|
||||
0,
|
||||
-0.0004088332670837288,
|
||||
4480.991370439071,
|
||||
0.0004088332670837288, 0, 0, -0.0004088332670837288, 4480.991370439071,
|
||||
1529.5752568707105,
|
||||
];
|
||||
|
||||
const extent = [
|
||||
-10960437.252092224,
|
||||
2762924.0275091752,
|
||||
-7572748.158493212,
|
||||
-10960437.252092224, 2762924.0275091752, -7572748.158493212,
|
||||
3741317.9895594316,
|
||||
];
|
||||
|
||||
|
||||
@@ -121,28 +121,7 @@ describe('ol.render.canvas.TextBuilder', function () {
|
||||
builder.drawText(feature.getGeometry(), feature);
|
||||
});
|
||||
expect(builder.coordinates).to.eql([
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
3,
|
||||
3,
|
||||
4,
|
||||
4,
|
||||
5,
|
||||
5,
|
||||
6,
|
||||
6,
|
||||
7,
|
||||
7,
|
||||
8,
|
||||
8,
|
||||
9,
|
||||
9,
|
||||
10,
|
||||
10,
|
||||
0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10,
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -219,28 +198,7 @@ describe('ol.render.canvas.TextBuilder', function () {
|
||||
builder.drawText(feature.getGeometry(), feature);
|
||||
});
|
||||
expect(builder.coordinates).to.eql([
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
3,
|
||||
3,
|
||||
4,
|
||||
4,
|
||||
5,
|
||||
5,
|
||||
6,
|
||||
6,
|
||||
7,
|
||||
7,
|
||||
8,
|
||||
8,
|
||||
9,
|
||||
9,
|
||||
10,
|
||||
10,
|
||||
0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10,
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user