Code coverage report for ./suites/LeafletSpec.js

Statements: 100% (7 / 7)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (7 / 7)     

All files » ./suites/ » LeafletSpec.js
1 2 3 4 5 6 7 8 9 10 11 12 13 141 1   1   1   1 1   1      
describe('L#noConflict', function() {
	it('restores the previous L value and returns Leaflet namespace', function(){
 
		expect(L.version).to.be.ok();
 
		var L2 = L.noConflict();
 
		expect(L).to.eql('test');
		expect(L2.version).to.be.ok();
 
		window.L = L2;
	});
});