Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make diff renderer globally configurable #87

Closed
skuzzle opened this issue Mar 16, 2023 · 0 comments
Closed

Make diff renderer globally configurable #87

skuzzle opened this issue Mar 16, 2023 · 0 comments
Labels
component: core enhancement New feature or request
Milestone

Comments

@skuzzle
Copy link
Owner

skuzzle commented Mar 16, 2023

For explicit text snapshots you can already configure the diff format via TextSnapshot.text().withDiffFormat(...). You can not currently control the diff format of the internally created diffs for all snapshots other than pure text.

We could add a new parameter to SnapshotTestOptions to specify the format

@skuzzle skuzzle added enhancement New feature or request component: core labels Mar 16, 2023
@skuzzle skuzzle added this to the 1.10.0 milestone Mar 16, 2023
skuzzle added a commit that referenced this issue Mar 28, 2023
@skuzzle skuzzle closed this as completed Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant