Leaflet/spec/suites/core/GeneralSpec.js
Vladimir Agafonkin 957f05da23 fix non-extendable objects regression of 1.1.0
Closes #5650 until we figure out a less hacky solution.
2017-07-27 11:03:51 +03:00

18 lines
300 B
JavaScript

describe('General', function () {
describe('noConflict', function () {
var leaflet = L;
after(function () {
L = leaflet;
});
expect(L.noConflict()).to.eql(leaflet);
});
describe('namespace extension', function () {
L.Util.foo = 'bar';
expect(L.Util.foo).to.eql('bar');
});
});