-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(test): convert error snapshot to regex to avoid env-specific is…
…sues
- Loading branch information
Showing
2 changed files
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`toMatchImageSnapshot failures fails gracefully with a differently sized image 3`] = `"toMatchImageSnapshot(): Received image size must match baseline snapshot size with \`outputDiffOnSizeMismatch\` set to \`false\`."`; | ||
|
||
exports[`toMatchImageSnapshot failures writes diff for images with different sizes with outputDiffOnSizeMismatch set to true 3`] = ` | ||
"Expected image to match or be a close match to snapshot but was 83.55194951543837% different from snapshot (18536 differing pixels). | ||
[1m[31mSee diff for details:[39m[22m [31m/Users/sbekrin/Projects/jest-image-snapshot/__tests__/__image_snapshots__/__diff_output__/cleanup-required-6-diff.png[39m" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters