The looks-same options sometimes need to be tweaked, e.g. to bump the tolerance of the antialiasingTolerance levels, is order for a specific test of test suite to pass (e.g. difference of font rendering between OSs can sometimes be tricky)
Having compareScreenshot take an optional LooksSameOptions 4th param would allow more flexibility, without having to fork the lib.
The looks-same options sometimes need to be tweaked, e.g. to bump the
toleranceof theantialiasingTolerancelevels, is order for a specific test of test suite to pass (e.g. difference of font rendering between OSs can sometimes be tricky)Having
compareScreenshottake an optionalLooksSameOptions4th param would allow more flexibility, without having to fork the lib.