Skip to content

Commit 973c397

Browse files
committed
chore: added threshold
1 parent 5992dbc commit 973c397

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ android {
4949
}
5050

5151
experimentalProperties["android.experimental.enableScreenshotTest"] = true
52+
53+
testOptions {
54+
screenshotTests {
55+
imageDifferenceThreshold = 0.0001f // 0.01%
56+
}
57+
}
5258
}
5359

5460
dependencies {

0 commit comments

Comments
 (0)