-
Notifications
You must be signed in to change notification settings - Fork 198
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
Assertion Error #22
Comments
What version of jest-image-snapshot? |
Probably not the issue but |
@phawxby 2.0.0 |
Can you create a little sample to recreate the issue? I'm using puppeteer on Windows and I'm having no issues. |
I can't, but I tried version 1.0.1 and it worked. Is it maybe from the custom config that pixelmatch doesn't work with but blink diff did? |
@ruxiang05 I will try playing with it today and see if I can find anything but I am unable to replicate as well. |
I wonder if it could be system specific. What node/jest/OS version are you using? |
Node 8, Jest 21.2.1, Mac OS Sierra 10.12.6 |
The only Mac I have access to is running High Sierra 10.13. Using Jest 21.2.1 and Node 8.6.0 no issues. Hmmmmm, the plot thickens. |
…re-not-runnable to master * commit '0a0affd56b48c252bdfa38956edf87fdd750cd00': fix(examples): make runnable without requiring root package to be installed
… fix/examples-are-not-runnable to master * commit '0a0affd56b48c252bdfa38956edf87fdd750cd00': fix(examples): make runnable without requiring root package to be installed
I am getting an error when running the test for the second time:
AssertionError [ERR_ASSERTION]: zlib binding closed uitk-react-example: uitk-react-example: at Object.<anonymous>.test (test/visual.spec.js:30:23) uitk-react-example: at <anonymous> uitk-react-example: at process._tickCallback (internal/process/next_tick.js:169:7)
This is the test:
I believe it has something to do with this project. It come from this line :
await expect(screen).toMatchImageSnapshot({customSnapshotIdentifier: storyLinks[i].name});
The text was updated successfully, but these errors were encountered: