Skip to content

Commit 8a7b84c

Browse files
committed
fix layer indexes
1 parent dd4cb63 commit 8a7b84c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/jasmine/tests/mapbox_test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,7 +1726,7 @@ describe('test mapbox trace/layout *below* interactions', function() {
17261726
.then(done, done.fail);
17271727
}, 8 * jasmine.DEFAULT_TIMEOUT_INTERVAL);
17281728

1729-
it('@gl should be warn when *below* value does not correspond to a layer on the map', function(done) {
1729+
fit('@gl should be warn when *below* value does not correspond to a layer on the map', function(done) {
17301730
spyOn(Lib, 'warn');
17311731

17321732
var notGonnaWork = 'not-gonna-work';
@@ -1748,8 +1748,8 @@ describe('test mapbox trace/layout *below* interactions', function() {
17481748
fail('Incorrect number of Lib.warn calls');
17491749
}
17501750
Lib.warn.calls.reset();
1751-
1752-
getLayerIds().slice(20, -1).forEach(function(id) {
1751+
1752+
getLayerIds().slice(94, -1).forEach(function(id) {
17531753
expect(id.indexOf('plotly-')).toBe(0, 'layer ' + id + ' fallback to top of map');
17541754
});
17551755
}

0 commit comments

Comments
 (0)