[tests] Fix variable reference in test-suite harness
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user