This is an automated email from the ASF dual-hosted git repository. shenyi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/master by this push: new de55405 test: compare screenshots with smaller threshold in visual regression testing de55405 is described below commit de55405724e1d800093cfb2c8102310e6f2e3d0d Author: pissang <bm2736...@gmail.com> AuthorDate: Tue Sep 24 18:05:08 2019 +0800 test: compare screenshots with smaller threshold in visual regression testing --- test/runTest/compareScreenshot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runTest/compareScreenshot.js b/test/runTest/compareScreenshot.js index 237b07c..f4c1627 100644 --- a/test/runTest/compareScreenshot.js +++ b/test/runTest/compareScreenshot.js @@ -35,7 +35,7 @@ function readPNG(path) { }); } -module.exports = function (expectedShotPath, actualShotPath, threshold = 0.1) { +module.exports = function (expectedShotPath, actualShotPath, threshold = 0.01) { return Promise.all([ readPNG(expectedShotPath), readPNG(actualShotPath) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org