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
+4 -20
View File
@@ -1793,29 +1793,13 @@ describe('ol.format.GML3', function () {
it('creates 3D Features with the expected geometries', function () {
const expectedGeometry1 = [
4.46386854,
51.91122415,
46.04679351,
4.46382399,
51.91120839,
4.46386854, 51.91122415, 46.04679351, 4.46382399, 51.91120839,
46.04679382,
];
const expectedGeometry2 = [
4.46385491,
51.91119276,
46.06074531,
4.4638264,
51.91118582,
46.06074609,
4.46380612,
51.91121772,
46.06074168,
4.46383463,
51.91122465,
46.06074089,
4.46385491,
51.91119276,
46.06074531,
4.46385491, 51.91119276, 46.06074531, 4.4638264, 51.91118582,
46.06074609, 4.46380612, 51.91121772, 46.06074168, 4.46383463,
51.91122465, 46.06074089, 4.46385491, 51.91119276, 46.06074531,
];
const expectedGeometry3 = [4.46383715, 51.91125849, 46.04679348];
+2 -6
View File
@@ -22,9 +22,7 @@ where('ArrayBuffer.isView').describe('ol.format.MVT', function () {
const options = {
featureProjection: 'EPSG:3857',
extent: [
1824704.739223726,
6141868.096770482,
1827150.7241288517,
1824704.739223726, 6141868.096770482, 1827150.7241288517,
6144314.081675608,
],
};
@@ -134,9 +132,7 @@ describe('ol.format.MVT', function () {
const options = {
featureProjection: 'EPSG:3857',
extent: [
1824704.739223726,
6141868.096770482,
1827150.7241288517,
1824704.739223726, 6141868.096770482, 1827150.7241288517,
6144314.081675608,
],
};
+2 -8
View File
@@ -139,10 +139,7 @@ describe('ol.format.WFS', function () {
expect(feature.getId()).to.equal('1');
expect(feature.get('name')).to.equal('My Polygon with hole');
expect(feature.get('boundedBy')).to.eql([
47.003018,
-0.768746,
47.925567,
0.532597,
47.003018, -0.768746, 47.925567, 0.532597,
]);
expect(feature.getGeometry()).to.be.an(MultiPolygon);
expect(feature.getGeometry().getFlatCoordinates()).to.have.length(60);
@@ -205,10 +202,7 @@ describe('ol.format.WFS', function () {
});
it('returns the correct bounds', function () {
expect(response.bounds).to.eql([
3197.88,
306457.313,
280339.156,
613850.438,
3197.88, 306457.313, 280339.156, 613850.438,
]);
});
});
@@ -117,10 +117,7 @@ describe('ol.format.WMSCapabilities', function () {
},
]);
expect(layer.Layer[0].EX_GeographicBoundingBox).to.eql([
-71.63,
41.75,
-70.78,
42.9,
-71.63, 41.75, -70.78, 42.9,
]);
expect(layer.Layer[0].Style).to.eql([
{
@@ -55,10 +55,7 @@ describe('ol.format.WMSGetFeatureInfo', function () {
const feature = features[0];
expect(feature.getGeometry()).to.be(undefined);
expect(feature.get('boundedBy')).to.eql([
-531138.686422,
5386348.414671,
-117252.819653,
6144475.186022,
-531138.686422, 5386348.414671, -117252.819653, 6144475.186022,
]);
});