diff options
Diffstat (limited to 'tests/lib/screenshot-testing/run-tests.js')
-rw-r--r-- | tests/lib/screenshot-testing/run-tests.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lib/screenshot-testing/run-tests.js b/tests/lib/screenshot-testing/run-tests.js index 62d7a56012..b907339577 100644 --- a/tests/lib/screenshot-testing/run-tests.js +++ b/tests/lib/screenshot-testing/run-tests.js @@ -27,6 +27,20 @@ require('./support/mocha-loader'); phantom.injectJs(chaiPath); require('./support/chai-extras'); +// load & configure resemble (for comparison) +phantom.injectJs(resemblePath); + +resemble.outputSettings({ + errorColor: { + red: 255, + green: 0, + blue: 0, + alpha: 125 + }, + errorType: 'movement', + transparency: 0.3 +}); + // run script if (options['help']) { app.printHelpAndExit(); |