leaflet-environmental-layers
Version:
[](https://gitpod.io/#https://github.com/publiclab/leaflet-environmental-layers/) [](http
17 lines (12 loc) • 476 B
JavaScript
describe("Testing for indigenous Treaties layer", function() {
beforeEach(function () {
loadFixtures('indigenousTreatiesLayers.html');
});
it("Basic Test", function () {
expect(true).toBe(true);
});
it("Checks if layer polygons are present", function () {
// There should be atleast one polygon in the Treaties layer always .
expect($("#map").children()[0].childNodes[2].childNodes[0].childNodes[0].childNodes.length).toBeGreaterThan(0);
});
});