Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit f36143c

Browse files
committed
fix/uiaccessibilityPerformEscape
1 parent bf61ff0 commit f36143c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/UIAccessiblityPerformEscapeTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ class UIAccessiblityPerformEscapeTests: XCTestCase {
3333

3434
let presentDidFisnish = XCTestExpectation()
3535
let dismissDidFinish = XCTestExpectation()
36+
3637
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
3738

3839
let panContainerView = panModal.view.superview
3940
presentDidFisnish.fulfill()
40-
panContainerView?.accessibilityPerformEscape()
4141

42+
panContainerView?.accessibilityPerformEscape()
4243
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
4344
XCTAssertNil(presenterViewController?.presentedViewController, "panModal should have been dismissed")
4445
dismissDidFinish.fulfill()

0 commit comments

Comments
 (0)