Feature opt_geometryOrProperties cannot be null

This commit is contained in:
Florent gravin
2018-09-18 13:40:25 +02:00
parent 25ade66017
commit 8b83371272
3 changed files with 7 additions and 6 deletions

View File

@@ -102,7 +102,7 @@ describe('ol.Feature', function() {
it('returns null for null geometry (constructor)', function() {
const feature = new Feature(null);
expect(feature.getGeometry()).to.be(null);
expect(feature.getGeometry()).to.be(undefined);
});
it('returns null for null geometry (setGeometry())', function() {