diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-07 16:49:11 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-13 10:18:43 -0700 |
commit | f610e9bef969dc8d7ec1ea545e93919a03d98882 (patch) | |
tree | 43576df80df4bb6868c60459e3010a53871148dc /platform/node | |
parent | 0b687312071305c050d97e04fef1c80193f443c5 (diff) | |
download | qtlocation-mapboxgl-f610e9bef969dc8d7ec1ea545e93919a03d98882.tar.gz |
[tests] Test updating icon and pattern images
Diffstat (limited to 'platform/node')
-rw-r--r-- | platform/node/test/suite_implementation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/test/suite_implementation.js b/platform/node/test/suite_implementation.js index 8ac372b7c3..cae5d12157 100644 --- a/platform/node/test/suite_implementation.js +++ b/platform/node/test/suite_implementation.js @@ -70,7 +70,7 @@ module.exports = function (style, options, callback) { applyOperations(operations.slice(1), callback); }); - } else if (operation[0] === 'addImage') { + } else if (operation[0] === 'addImage' || operation[0] === 'updateImage') { var img = PNG.sync.read(fs.readFileSync(path.join(__dirname, '../../../mapbox-gl-js/test/integration', operation[2]))); map.addImage(operation[1], img.data, { |