2017-06-02 17:18:46 +08:00
|
|
|
describe('General', function () {
|
|
|
|
describe('noConflict', function () {
|
|
|
|
var leaflet = L;
|
|
|
|
|
|
|
|
after(function () {
|
|
|
|
L = leaflet;
|
|
|
|
});
|
|
|
|
|
|
|
|
expect(L.noConflict()).to.eql(leaflet);
|
|
|
|
});
|
2017-07-24 20:53:29 +08:00
|
|
|
|
|
|
|
describe('namespace extension', function () {
|
|
|
|
L.Util.foo = 'bar';
|
|
|
|
|
|
|
|
expect(L.Util.foo).to.eql('bar');
|
|
|
|
});
|
2017-06-02 17:18:46 +08:00
|
|
|
});
|