You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The default subdirectory for snapshots in the same directory as the test file. Defaults to `__Snapshots__` that sits next to your test file. Only used when `snapshotDirectory` is nil.
/// Optional directory to save snapshots. By default snapshots will be saved in a directory with the same name as the test file, and that directory will sit inside a directory `__Snapshots__` that sits next to your test file.
8
+
publicstaticvarsnapshotDirectory:String?=nil
9
+
/// The amount of time a snapshot must be generated in.
10
+
publicstaticvartimeout:TimeInterval=5
11
+
/// The percentage of pixels that must match. Value between 0-1
12
+
publicstaticvarprecision:Float=1
13
+
/// The percentage a pixel must match the source pixel to be considered a match. [98-99% mimics the precision of the human
0 commit comments