From 0a6c500e58597f89e358b417ddbb9f7889a3fc1c Mon Sep 17 00:00:00 2001 From: Per Liedman Date: Wed, 26 Jul 2017 11:51:35 +0200 Subject: [PATCH] Add test for extending L namespace --- spec/suites/core/GeneralSpec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/suites/core/GeneralSpec.js b/spec/suites/core/GeneralSpec.js index 561d5e54..fce1f215 100644 --- a/spec/suites/core/GeneralSpec.js +++ b/spec/suites/core/GeneralSpec.js @@ -11,7 +11,9 @@ describe('General', function () { describe('namespace extension', function () { L.Util.foo = 'bar'; + L.Foo = 'Bar'; expect(L.Util.foo).to.eql('bar'); + expect(L.Foo).to.eql('Bar'); }); });