summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-06-14 12:46:24 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-06-15 07:43:51 -0700
commitcdc5f8ff14879ebf8d72916d8e7b595417eb3310 (patch)
treeca3f0572c66f636da8374a6623455c8e6d001961
parentfe024bbdf6169d1dd1bdb4f9e20cb93152a0b3b2 (diff)
downloadqtlocation-mapboxgl-cdc5f8ff14879ebf8d72916d8e7b595417eb3310.tar.gz
[tests] Enable set-style-* integration tests
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') {