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
Currently, reporters don't have access to snapshot comparison details:
actual and expected values
expected snapshot file path
What is the expected behavior?
Exposing this data would allow tools to show a standard comparison dialog (which would be more convenient for large snapshots than inline diff). Also, exposing expected snapshot file path would allow to update snapshot files right in the comparison dialog without the need of rerunning tests with -u.
There is a similar request #4547. However, seems it's a bit more general, so, I've decided to file a more specific issue targeting the standard jest-snapshot matcher.
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
node 9.2.0
jest 21.2.1
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Currently, reporters don't have access to snapshot comparison details:
What is the expected behavior?
Exposing this data would allow tools to show a standard comparison dialog (which would be more convenient for large snapshots than inline diff). Also, exposing expected snapshot file path would allow to update snapshot files right in the comparison dialog without the need of rerunning tests with
-u
.There is a similar request #4547. However, seems it's a bit more general, so, I've decided to file a more specific issue targeting the standard jest-snapshot matcher.
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
node 9.2.0
jest 21.2.1
The text was updated successfully, but these errors were encountered: