Skip to content

Commit

Permalink
Add missing MainActor isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Jarvis committed Nov 12, 2024
1 parent 5bef707 commit e4743f1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import XCTest

@MainActor
extension XCUIElementQuery {
public func exactlyOneMatch() throws -> XCUIElement {
XCTAssertEqual(count, 1, "Requiring only one element match the query resulting in `self`")
Expand Down

0 comments on commit e4743f1

Please sign in to comment.