Skip to content

Commit 118881d

Browse files
Vasil ChimevVasil Chimev
authored andcommitted
Set default typeThreshold to pixels
1 parent 759578a commit 118881d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/image-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class ImageHelper {
5656
});
5757
}
5858

59-
public compareImages(actual: string, expected: string, output: string, valueThreshold: number = this.threshold(), typeThreshold: any = ImageOptions.percent) {
59+
public compareImages(actual: string, expected: string, output: string, valueThreshold: number = this.threshold(), typeThreshold: any = ImageOptions.pixel) {
6060
let diff = new blinkDiff({
6161
imageAPath: actual,
6262
imageBPath: expected,

0 commit comments

Comments
 (0)