diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-05-05 18:30:36 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-05-08 13:59:43 +0300 |
commit | a22d3ea00eec750e54fdf2f092f5a697b774b7bf (patch) | |
tree | 3a3f35e26e4b78d917a6baf59e171eaffdc24c06 | |
parent | 485dfe844c5013746b737207c4486c1499a0681c (diff) | |
download | qtlocation-mapboxgl-upstream/tmpsantos-node_exceptions.tar.gz |
[node] Bump pixelmatch thresholdupstream/tmpsantos-node_exceptions
Make this test pass on both Linux and macOS.
-rw-r--r-- | platform/node/test/js/options.test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/test/js/options.test.js b/platform/node/test/js/options.test.js index bb66b3a923..44d4167edd 100644 --- a/platform/node/test/js/options.test.js +++ b/platform/node/test/js/options.test.js @@ -46,7 +46,7 @@ test('Usage', function(t) { map.render({}, function(err, pixels) { var expected = PNG.sync.read(fs.readFileSync(path.join(__dirname, '../fixtures/options/expected.png'))).data; - var numPixels = pixelmatch(pixels, expected, undefined, 512, 512, { threshold: 0.13 }); + var numPixels = pixelmatch(pixels, expected, undefined, 512, 512, { threshold: 0.2 }); t.equal(numPixels, 0); t.end(); }); |