Oh fun idea: a module that takes an object, serializes it to JSON and copies it to your clipboard - from the browser
-
-
I'm adding jest's snapshot tests to my project to basically do this. Generate a snapshot, it fails with a diff if anything changes.
-
Haha yeah I made https://github.com/yoshuawuyts/assert-snapshot/ … to do the same, but without needing to buy into a whole framework haha. Digging the approach a lot!
- 1 more reply
New conversation -
-
-
This is where snapshot tests come from.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
