Skip to content

Commit db36596

Browse files
committed
fix 'should be able to add, update and remove layers'
1 parent 961c747 commit db36596

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/jasmine/tests/mapbox_test.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -533,12 +533,13 @@ describe('mapbox plots', function() {
533533
.then(done, done.fail);
534534
}, LONG_TIMEOUT_INTERVAL);
535535

536-
it('@gl should be able to add, update and remove layers', function(done) {
536+
fit('@gl should be able to add, update and remove layers', function(done) {
537537
var mockWithLayers = require('../../image/mocks/mapbox_layers');
538538

539539
var layer0 = Lib.extendDeep({}, mockWithLayers.layout.mapbox.layers[0]);
540-
var layer1 = Lib.extendDeep({}, mockWithLayers.layout.mapbox.layers[1]);
541-
540+
var layer1 = Lib.extendDeep({}, mockWithLayers.layout.mapbox.layers[0]);
541+
layer1.type = 'line';
542+
542543
var mapUpdate = {
543544
'mapbox.zoom': mockWithLayers.layout.mapbox.zoom,
544545
'mapbox.center.lon': mockWithLayers.layout.mapbox.center.lon,

0 commit comments

Comments
 (0)