Add test for extending L namespace

This commit is contained in:
Per Liedman 2017-07-26 11:51:35 +02:00 committed by Vladimir Agafonkin
parent 957f05da23
commit 0a6c500e58

View File

@ -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');
}); });
}); });