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.
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 "uses0
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.