You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
allow users to provide their own version of puppeteer (#13) (b6c5235), closes #5
make diff threshold adjustable (#14) (44400ae), closes #2
BREAKING CHANGES
The default image comparison threshold is now 0, which means any discrepancy at all will be detected. Previously, this value was 0.1, which meant that small discrepancies would be ignored. If you need this old behavior back, pass --threshold 0.1 as an argument.
api: The entranceMethod and entranceMethodArgs parameters have been removed from the API. You can use the before hook to achieve the same things. See #11 for details.
api:after now runs after the screenshot is taken, instead of before it.
pupeeteer is now a peerDependency, and therefore will not be automatically installed. Your bundle must install it as its own dependency.
api: The entranceMethod and entranceMethodArgs parameters have been removed from the API. You can use the before hook to achieve the same things. See #11 for details.
api:after now runs after the screenshot is taken, instead of before it.