We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 196c32b commit 299be88Copy full SHA for 299be88
Sources/TestingExtensions/SnapshotTestBase.swift
@@ -111,9 +111,8 @@ open class SnapshotTestBase: XCTestCase {
111
112
guard let a11ySnapshotDevices else { return }
113
a11ySnapshotDevices.forEach { config in
114
- let vc = UIHostingController(rootView: view)
115
assertSnapshot(
116
- of: vc,
+ of: view,
117
as: .accessibilityImage(showActivationPoints: .always),
118
file: file,
119
testName: "\(testName)-\(config.name)-accessibility",
0 commit comments