(img1, img2)
| 22 | const pixelThreshold = 10; // Allow 10 pixel difference, to account for anti-aliasing differences. |
| 23 | |
| 24 | function pixelDiffPNGs(img1, img2) { |
| 25 | return pixelmatch(img1.data, img2.data, null, img1.width, img1.height); |
| 26 | } |
| 27 | |
| 28 | describe('Test App', () => { |
| 29 |