Leaflet/spec/suites/core/GeneralSpec.js
2017-07-27 11:03:52 +03:00

20 lines
348 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';
L.Foo = 'Bar';
expect(L.Util.foo).to.eql('bar');
expect(L.Foo).to.eql('Bar');
});
});