Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[tests] Enable set-style-* integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Jun 15, 2017
1 parent fe024bb commit cdc5f8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mapbox-gl-js
Submodule mapbox-gl-js updated 146 files
5 changes: 5 additions & 0 deletions platform/node/test/suite_implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit cdc5f8f

Please sign in to comment.