map.test.js - fix the map is destroyable test in advanced mode
This commit is contained in:
@@ -158,7 +158,7 @@ describe("ol.map", function() {
|
|||||||
|
|
||||||
map.destroy();
|
map.destroy();
|
||||||
|
|
||||||
expect(goog.isDef(map.getLayers())).toBe(false);
|
expect(map.layers()).not.toBeDefined();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user