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 install
First, run server.
$ npm start
and open another terminal, run test script.
$ npm test
To update snapshot image file, run test with -u
$ npm test -- -u
GoogleChrome/puppeteer #290 Issue with Circle CI
In Circle CI Ubuntu 14.04 (Trusty), you should additionally install required dependencies.
MIT © Taehwan, No