diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-14 12:46:24 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-15 07:43:51 -0700 |
commit | cdc5f8ff14879ebf8d72916d8e7b595417eb3310 (patch) | |
tree | ca3f0572c66f636da8374a6623455c8e6d001961 /platform/node/test/suite_implementation.js | |
parent | fe024bbdf6169d1dd1bdb4f9e20cb93152a0b3b2 (diff) | |
download | qtlocation-mapboxgl-cdc5f8ff14879ebf8d72916d8e7b595417eb3310.tar.gz |
[tests] Enable set-style-* integration tests
Diffstat (limited to 'platform/node/test/suite_implementation.js')
-rw-r--r-- | platform/node/test/suite_implementation.js | 5 |
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') { |