-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feat(ios): add web-view testing support. #4394
Conversation
@@ -0,0 +1,58 @@ | |||
const fs = require('fs-extra'); | |||
const { ssim } = require('ssim.js'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added this util for image comparison
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Optional) I would advise eventually to use https://github.com/americanexpress/jest-image-snapshot instead of low-level wrappers.
It will be released today in the upcoming version. |
fix(webviews): apply suggested changes from #4394.
Released with v20.19 |
In this pull request, I've:
TODOS (in this PR):
Follow-ups: