Skip to content

Commit

Permalink
add test to zindex baselayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Trufi committed Jul 30, 2015
1 parent a073cc0 commit 4a23030
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/DGCustomization/test/DGMap.BaseLayerSpec.js
Expand Up @@ -13,5 +13,11 @@ describe('DG.TileLayer', function() {
it('should be map.baseLayer', function() {
expect(map.baseLayer).to.be.a('object');
});

it('should be zIndex 0 on layer container', function() {
var layerContainer = map.baseLayer._container;

expect(Number(layerContainer.style.zIndex)).to.be(0);
});
});
});

0 comments on commit 4a23030

Please sign in to comment.