jest-snapshots-svg
jest-snapshots-svg copied to clipboard
Split project into multiple parts
This project has a lot of use cases outside of snapshot testing. For example, automating App Store screenshots, or to help with a design feedback flow.
Would you be interested in splitting this project into multiple smaller modules? I suggest:
- A module to layout a React Tree
- A module to render a laid out tree to SVG/other
- A Jest snapshot plugin
We could use Lerna/yarn workspaces to keep them in the same repo.
Sure, yeah, I'm totally into this 👍
If you want to put in the time, I'd love to see it as a yarn workspace. FWIW, I wouldn't ever expect the results of this to be good enough for app store screenshots, but I admire the idea :D
I'll try and push something this week!