Skip to content

Commit 8e6aabd

Browse files
committed
set pixel count th
1 parent b80c299 commit 8e6aabd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples_utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub mod internal {
4242
State: eframe::App,
4343
{
4444
let output_path = PathBuf::from(manifest_dir);
45-
let options = SnapshotOptions::new().threshold(2.0).output_path(output_path);
45+
let options = SnapshotOptions::new().threshold(2.0).failed_pixel_count_threshold(5).output_path(output_path);
4646

4747
// Generate main screenshot
4848
let mut harness = Harness::builder()

0 commit comments

Comments
 (0)