From 91df6d9ef496bdab9fa3658b8dea131fb0a71c8c Mon Sep 17 00:00:00 2001 From: Lukas Eipert Date: Tue, 30 Oct 2018 12:46:44 +0100 Subject: 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. --- package.json | 1 + 1 file changed, 1 insertion(+) (limited to 'package.json') 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", -- cgit v1.2.3