snapshot
snapshot copied to clipboard
Make snapshots
Thank you for taking time to open a new issue. Please answer a few questions to help us fix it faster. You can delete text that is irrelevant to the issue.
Is this a bug report or a feature request?
Feature request.
Description
Currently, snapshots are one line each in a single file.
That makes it so you can't see what has changed in a Git diff, since Git is line-based.
Idea:
Make snapshots javascript objects instead so that a Git diff will show exactly what has changed. Make this a configurable option that you can set for all tests.
It might also be useful to allow using a single snapshot file per test file so that you can see by the list of changed snapshot files what has changed.
This looks like a duplicate of #18