From cdc5f8ff14879ebf8d72916d8e7b595417eb3310 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 14 Jun 2017 12:46:24 -0700 Subject: [PATCH] [tests] Enable set-style-* integration tests --- mapbox-gl-js | 2 +- platform/node/test/suite_implementation.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mapbox-gl-js b/mapbox-gl-js index 0ee15860e3f..24938a6e676 160000 --- a/mapbox-gl-js +++ b/mapbox-gl-js @@ -1 +1 @@ -Subproject commit 0ee15860e3ffb25a535ae374f44b3007b765c6fc +Subproject commit 24938a6e6767c880c709ee6ffb2d3ffbaad838cf diff --git a/platform/node/test/suite_implementation.js b/platform/node/test/suite_implementation.js index cae5d121578..b717ecd2b29 100644 --- a/platform/node/test/suite_implementation.js +++ b/platform/node/test/suite_implementation.js @@ -80,6 +80,11 @@ module.exports = function (style, options, callback) { }); applyOperations(operations.slice(1), callback); + + } else if (operation[0] === 'setStyle') { + map.load(operation[1]); + applyOperations(operations.slice(1), callback); + } else { // Ensure that the next `map.render(options)` does not overwrite this change. if (operation[0] === 'setCenter') {