summaryrefslogtreecommitdiff
path: root/platform/node
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 /platform/node
parentfe024bbdf6169d1dd1bdb4f9e20cb93152a0b3b2 (diff)
downloadqtlocation-mapboxgl-cdc5f8ff14879ebf8d72916d8e7b595417eb3310.tar.gz
[tests] Enable set-style-* integration tests
Diffstat (limited to 'platform/node')
-rw-r--r--platform/node/test/suite_implementation.js5
1 files changed, 5 insertions, 0 deletions
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') {