UNPKG

leaflet-environmental-layers

Version:

[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/publiclab/leaflet-environmental-layers/) [![npm version](https://badge.fury.io/js/leaflet-environmental-layers.svg)](http

17 lines (12 loc) 485 B
describe("Testing for indigenous Territories layer", function() { beforeEach(function () { loadFixtures('indigenousTerritoriesLayers.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 Territories layer always . expect($("#map").children()[0].childNodes[2].childNodes[0].childNodes[0].childNodes.length).toBeGreaterThan(0); }); });