Remove lint

This commit is contained in:
Andreas Hocevar
2021-06-28 18:10:51 +02:00
parent b5bb9382e2
commit 79f5f46d27
135 changed files with 1040 additions and 2374 deletions

View File

@@ -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 () {

View File

@@ -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,
];

View File

@@ -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,
]);
});