jest-snapshots-svg icon indicating copy to clipboard operation
jest-snapshots-svg copied to clipboard

Split project into multiple parts

Open jacobp100 opened this issue 7 years ago • 2 comments

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.

jacobp100 avatar Sep 26 '17 07:09 jacobp100

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

orta avatar Sep 26 '17 11:09 orta

I'll try and push something this week!

jacobp100 avatar Sep 27 '17 08:09 jacobp100