Examples of using Resemble.js and pixelmatch for image comparison.
To run:
npm install
There are 2 run commands available test:pixelmatch and test:resemblejs.
Both examples generate images into ./source/test/xxx/results folder with marked differences.
To run any command execute npm run xxx where instead of "xxx" insert any command from listed above.