summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2018-10-30 12:46:44 +0100
committerLukas Eipert <leipert@gitlab.com>2019-01-21 20:48:55 +0100
commit91df6d9ef496bdab9fa3658b8dea131fb0a71c8c (patch)
tree2271ad0d4ad9e693b0c0728ed15b7edb2e8497ad /package.json
parentd56b76a52dbb978982c3dedba333523e908b37db (diff)
downloadgitlab-ce-91df6d9ef496bdab9fa3658b8dea131fb0a71c8c.tar.gz
Make favicon tests more fault resistent
It seems like every new version of Chrome renders the favicon canvas differently. This reduces the problems with it by creating a more fault tolerant check, which compares the color values in the pixels and is okay if they are within a certain threshold.
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 1fd7e53d62c..21431b210cd 100644
--- a/package.json
+++ b/package.json
@@ -161,6 +161,7 @@
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.0-beta.0",
"nodemon": "^1.18.4",
+ "pixelmatch": "^4.0.2",
"prettier": "1.15.3",
"vue-jest": "^3.0.2",
"webpack-dev-server": "^3.1.14",