//= require leaflet/dist/leaflet-src
//= require leaflet.osm
//= require leaflet.map
-//= require i18n/translations
describe("OSM", function () {
describe(".apiUrl", function () {
});
});
- describe(".params", function () {
- it("parses params", function () {
- const params = OSM.params("?foo=a&bar=b");
- expect(params).to.have.property("foo", "a");
- expect(params).to.have.property("bar", "b");
- });
- });
-
describe(".mapParams", function () {
beforeEach(function () {
delete OSM.home;