Leaflet/spec/suites/layer/ImageOverlaySpec.js
2014-11-12 10:53:26 -08:00

9 lines
236 B
JavaScript

describe('ImageOverlay', function () {
describe('#setStyle', function () {
it('sets opacity', function () {
var overlay = L.imageOverlay().setStyle({opacity: 0.5});
expect(overlay.options.opacity).to.equal(0.5);
});
});
});