summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------mapbox-gl-js0
-rw-r--r--platform/node/test/suite_implementation.js5
2 files changed, 5 insertions, 0 deletions
diff --git a/mapbox-gl-js b/mapbox-gl-js
-Subproject 0ee15860e3ffb25a535ae374f44b3007b765c6f
+Subproject 24938a6e6767c880c709ee6ffb2d3ffbaad838c
diff --git a/platform/node/test/suite_implementation.js b/platform/node/test/suite_implementation.js
index cae5d12157..b717ecd2b2 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') {