Skip to content

Commit

Permalink
test: add 'Feature' and 'FeatureCollection' to test list of disallowe…
Browse files Browse the repository at this point in the history
…d geometry type values
  • Loading branch information
M-Scott-Lassiter committed Jun 2, 2022
1 parent 063b94e commit f139a09
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/features/toBeFeature.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const incorrectTypeValues = [
'Polygon',
'MultiPolygon',
'GeometryCollection',
'FeatureCollection',
'FEATURE',
'feature'
]
Expand Down
2 changes: 2 additions & 0 deletions tests/geometries/toBeGeometryCollection.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ const incorrectTypeValues = [
'MultiLineString',
'Polygon',
'MultiPolygon',
'Feature',
'FeatureCollection',
'GEOMETRYCOLLECTION',
'geometrycollection'
]
Expand Down
2 changes: 2 additions & 0 deletions tests/geometries/toBeLineStringGeometry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ const incorrectTypeValues = [
'Polygon',
'MultiPolygon',
'GeometryCollection',
'Feature',
'FeatureCollection',
'LINESTRING',
'linestring'
]
Expand Down
2 changes: 2 additions & 0 deletions tests/geometries/toBeMultiLineStringGeometry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ const incorrectTypeValues = [
'Polygon',
'MultiPolygon',
'GeometryCollection',
'Feature',
'FeatureCollection',
'MULTILINESTRING',
'multilinestring'
]
Expand Down
2 changes: 2 additions & 0 deletions tests/geometries/toBeMultiPointGeometry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ const incorrectTypeValues = [
'Polygon',
'MultiPolygon',
'GeometryCollection',
'Feature',
'FeatureCollection',
'MULTIPOINT',
'multipoint'
]
Expand Down
2 changes: 2 additions & 0 deletions tests/geometries/toBeMultiPolygonGeometry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ const incorrectTypeValues = [
'MultiLineString',
'Polygon',
'GeometryCollection',
'Feature',
'FeatureCollection',
'MULTIPOLYGON',
'multipolygon'
]
Expand Down
2 changes: 2 additions & 0 deletions tests/geometries/toBePointGeometry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ const incorrectTypeValues = [
'Polygon',
'MultiPolygon',
'GeometryCollection',
'Feature',
'FeatureCollection',
'POINT',
'point'
]
Expand Down
2 changes: 2 additions & 0 deletions tests/geometries/toBePolygonGeometry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ const incorrectTypeValues = [
'MultiLineString',
'MultiPolygon',
'GeometryCollection',
'Feature',
'FeatureCollection',
'POLYGON',
'polygon'
]
Expand Down

0 comments on commit f139a09

Please sign in to comment.