Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
saveDiffTo: (diffPath) => Image.buildDiff({
reference: result.refImg.path,
current: result.currImg.path,
diff: diffPath,
diffColor: this._diffColor,
tolerance: result.tolerance,
antialiasingTolerance,
...buildDiffOpts
})
});
saveDiffTo(diffPath) {
return Image.buildDiff({diff: diffPath, ...this.diffOpts});
}
};