Jest Image Snapshot Example with jest-image-snapshot, puppeteer and Circle CI 2.0 for Visual Regression Test
- node >=
v7.6.0 - jest >=
v20.0.0 - yarn
This project assumes node.js version with v8.4.0.
$ npm installFirst, run server.
$ npm startand open another terminal, run test script.
$ npm testTo update snapshot image file, run test with -u
$ npm test -- -uGoogleChrome/puppeteer #290 Issue with Circle CI
In Circle CI Ubuntu 14.04 (Trusty), you should additionally install required dependencies.
MIT © Taehwan, No