Y-SLD/assets/plugins/_leaflet/draw/spec/suites/DrawControlSpec.js

15 lines
328 B
JavaScript

describe("Control.Draw", function () {
var map, control, container;
beforeEach(function () {
map = L.map(document.createElement('div'));
control = new L.Control.Draw({});
map.addControl(control);
container = control.getContainer();
});
it("exists", function () {
expect(container.innerHTML).to.be.ok();
});
});