Skip to content

Commit

Permalink
Slightly decrease perceptualPrecision to hopefully fix flaky snapshot…
Browse files Browse the repository at this point in the history
… tests
  • Loading branch information
calda committed Aug 2, 2023
1 parent 0da8798 commit 4654b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/SnapshotTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class SnapshotTests: XCTestCase {
matching: animationView,
as: .imageOfPresentationLayer(
precision: SnapshotConfiguration.forSample(named: sampleAnimationName).precision,
perceptualPrecision: 0.985),
perceptualPrecision: 0.98),
named: "\(sampleAnimationName) (\(Int(percent * 100))%)",
testName: testName)
}
Expand Down

0 comments on commit 4654b16

Please sign in to comment.