diff --git a/platform/node/test/suite_implementation.js b/platform/node/test/suite_implementation.js index 05b8113af..3abf4136c 100644 --- a/platform/node/test/suite_implementation.js +++ b/platform/node/test/suite_implementation.js @@ -68,13 +68,13 @@ module.exports = function (style, options, callback) { } else { // Ensure that the next `map.render(options)` does not overwrite this change. if (operation[0] === 'setCenter') { - options.center = operations[1]; + options.center = operation[1]; } else if (operation[0] === 'setZoom') { - options.zoom = operations[1]; + options.zoom = operation[1]; } else if (operation[0] === 'setBearing') { - options.bearing = operations[1]; + options.bearing = operation[1]; } else if (operation[0] === 'setPitch') { - options.pitch = operations[1]; + options.pitch = operation[1]; } map[operation[0]].apply(map, operation.slice(1));