2014-11-06 07:13:28 +08:00
|
|
|
describe('Path', function () {
|
|
|
|
describe('#bringToBack', function () {
|
|
|
|
it('is a no-op for layers not on a map', function () {
|
|
|
|
var path = new L.Path();
|
|
|
|
expect(path.bringToBack()).to.equal(path);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
describe('#bringToFront', function () {
|
|
|
|
it('is a no-op for layers not on a map', function () {
|
|
|
|
var path = new L.Path();
|
|
|
|
expect(path.bringToFront()).to.equal(path);
|
|
|
|
});
|
2014-11-06 07:21:51 +08:00
|
|
|
});
|
2014-11-06 07:13:28 +08:00
|
|
|
});
|