jest-svg-snapshot
v0.1.0
Published
Generate Snapshots of SVGs to have a pretty diff on GitHub
Downloads
28
Readme
jest-svg-snapshot
I want to work on this
OK, you need to clone this repo:
git clone https://github.com/mathieudutour/jest-svg-snapshot.git
If you want to work against your own projects, then you need to set it up for linking and turn on watch mode.
yarn watch # starts a server, so make a new tab for the next bits
yarn link
cd [my_project]
yarn link jest-svg-snapshot
Now your project is using the dev version of this.
TODO:
- v2: use iTerm to show the images inline
- v3: get vscode-jest to preview them inline