Specify SnapshotExtensions.MatchSnapshot() Filename #6893
uwe-schmitz
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The
MatchSnapshot()
extension method generates the snapshot filename (in the__snapshots__
folder) from theStackTrace
. The resulting filename could be quite long, especially for tests. May I suggest adding a filename parameter which would overwrite the generated filename?Beta Was this translation helpful? Give feedback.
All reactions