Prior99 / jest-screenshot

A jest extension to deal with screenshots and all sorts of images.
MIT License
71 stars 21 forks source link

Implement issue #6 #8

Closed k-g-a closed 5 years ago

k-g-a commented 5 years ago

Implements #6

Also added .idea folder (generated by JetBrains WebStorm) to .gitignore. Unfortunatelly, many tests are failing on windows due to slashes mismatch. I've checked manually and the only non-slash failing test is "uses 0 as relative threshold if no threshold is provided": Expected mock function to have been called with: {"pixelThresholdRelative": 0} as argument 2, but it was called with {"colorThreshold": 0, "pixelThresholdRelative": 0}. But it seems unrelated to changes made in this PR.

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 47


Totals Coverage Status
Change from base Build 46: 0.0%
Covered Lines: 388
Relevant Lines: 388

💛 - Coveralls