diff --git a/Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift b/Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift index ec7bd9103..bd02a76bd 100644 --- a/Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift +++ b/Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift @@ -28,7 +28,7 @@ extension Snapshotting where Value: SwiftUI.View, Format == UIImage { /// - Parameters: /// - drawHierarchyInKeyWindow: Utilize the simulator's key window in order to render `UIAppearance` and `UIVisualEffect`s. This option requires a host application for your tests and will _not_ work for framework test targets. /// - precision: The percentage of pixels that must match. - /// - size: A view size override. + /// - layout: A view layout override. /// - traits: A trait collection override. public static func image( drawHierarchyInKeyWindow: Bool = false,