Lint-free tests
This commit is contained in:
@@ -14,7 +14,7 @@ describe('ol.geom.MultiLineString', function() {
|
||||
|
||||
it('throws when given with insufficient dimensions', function() {
|
||||
expect(function() {
|
||||
var multi = new ol.geom.MultiPoint([1]);
|
||||
var multi = new ol.geom.MultiLineString([1]);
|
||||
}).toThrow();
|
||||
});
|
||||
|
||||
@@ -84,4 +84,5 @@ describe('ol.geom.MultiLineString', function() {
|
||||
});
|
||||
|
||||
goog.require('ol.geom.Geometry');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
|
||||
@@ -71,3 +71,4 @@ describe('ol.geom.MultiPoint', function() {
|
||||
|
||||
goog.require('ol.geom.Geometry');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -89,3 +89,4 @@ describe('ol.geom.MultiPolygon', function() {
|
||||
|
||||
goog.require('ol.geom.Geometry');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
@@ -84,5 +84,6 @@ describe('ol.geom.Polygon', function() {
|
||||
});
|
||||
|
||||
goog.require('ol.geom.Geometry');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.geom.SharedVertices');
|
||||
|
||||
Reference in New Issue
Block a user