Add test for extending L namespace
This commit is contained in:
parent
957f05da23
commit
0a6c500e58
@ -11,7 +11,9 @@ describe('General', function () {
|
|||||||
|
|
||||||
describe('namespace extension', function () {
|
describe('namespace extension', function () {
|
||||||
L.Util.foo = 'bar';
|
L.Util.foo = 'bar';
|
||||||
|
L.Foo = 'Bar';
|
||||||
|
|
||||||
expect(L.Util.foo).to.eql('bar');
|
expect(L.Util.foo).to.eql('bar');
|
||||||
|
expect(L.Foo).to.eql('Bar');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user