@vizzly-testing/cli 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -535,7 +535,8 @@ export class TddService {
|
|
|
535
535
|
logger.debug(`Current: ${currentImagePath} (${currentSize} bytes)`);
|
|
536
536
|
const result = await compare(baselineImagePath, currentImagePath, diffImagePath, {
|
|
537
537
|
threshold: this.threshold,
|
|
538
|
-
outputDiffMask: true
|
|
538
|
+
outputDiffMask: true,
|
|
539
|
+
failOnLayoutDiff: true // Fail if image dimensions differ
|
|
539
540
|
});
|
|
540
541
|
if (result.match) {
|
|
541
542
|
// Images match
|