15 lines
328 B
JavaScript
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();
|
||
|
});
|
||
|
});
|