snapshot icon indicating copy to clipboard operation
snapshot copied to clipboard

Make snapshots

Open hannaofsweden opened this issue 4 years ago • 1 comments

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.

hannaofsweden avatar Aug 13 '21 08:08 hannaofsweden

This looks like a duplicate of #18

bmaupin avatar Mar 24 '23 18:03 bmaupin