Skip to content

Commit 1dd8c0e

Browse files
committed
test map not mapbox in new modebar_test
1 parent c8f5702 commit 1dd8c0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jasmine/tests/modebar_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ describe('ModeBar', function() {
14461446
});
14471447

14481448
describe('map handlers', function() {
1449-
it('@gl button *resetViewMapbox* should reset the map view attribute to their default', function(done) {
1449+
it('@gl button *resetViewMap* should reset the map view attribute to their default', function(done) {
14501450
var gd = createGraphDiv();
14511451

14521452
function _assert(centerLon, centerLat, zoom) {
@@ -1478,7 +1478,7 @@ describe('ModeBar', function() {
14781478
.then(function() {
14791479
_assert(30, 10, 10);
14801480

1481-
var button = selectButton(gd._fullLayout._modeBar, 'resetViewMapbox');
1481+
var button = selectButton(gd._fullLayout._modeBar, 'resetViewMap');
14821482

14831483
button.isActive(false);
14841484
button.click(false);

0 commit comments

Comments
 (0)