Fix test for older ES versions
This commit is contained in:
parent
50b33f3ccf
commit
9e284dc8b7
@ -265,8 +265,7 @@ test('Custom map options', function () {
|
||||
|
||||
assertPresent(tiles);
|
||||
|
||||
ok(tiles.find('.leaflet-tile')[0].src.startsWith('http://example.com'));
|
||||
|
||||
ok(tiles.find('.leaflet-tile')[0].src.indexOf('http://example.com') === 0);
|
||||
ok(view.$el.find('.leaflet-control-attribution').text().indexOf('MyTiles') !== -1);
|
||||
|
||||
view.remove();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user