You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.
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?
Bug report.
If this is a bug report, please provide as much info as possible
version
2.1.7
platform
Windows, Unix
expected behavior
Calling snapshot like this:
snapshot('Before typing')
Should result in a line in snapshot.json like this:
"Before typing": "<div>Example HTML code</div"
actual behavior
The resulting file always uses the index of the snapshot in the test, i.e.:
1: "<div>Example HTML code</div"
This is in confilct with the documentation. You can use this format to do it but it's more verbose:
snapshot( { name: "Before typing" } )
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
Bug report.
If this is a bug report, please provide as much info as possible
2.1.7
Windows, Unix
Calling snapshot like this:
snapshot('Before typing')
Should result in a line in snapshot.json like this:
"Before typing": "<div>Example HTML code</div"
The resulting file always uses the index of the snapshot in the test, i.e.:
1: "<div>Example HTML code</div"
This is in confilct with the documentation. You can use this format to do it but it's more verbose:
snapshot( { name: "Before typing" } )
The text was updated successfully, but these errors were encountered: