chore: adiciona .gitignore e commit.command

This commit is contained in:
João Henrique
2026-08-18 08:25:29 -04:00
parent 68958fde00
commit 8fca456ceb
215 changed files with 65752 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import XCTest
@testable import Hex
final class KeyEventMonitorClientTests: XCTestCase {
func testRegisteringFirstHandlerWhenInputMonitoringIsDeniedDoesNotReenterQueue() {
let monitor = KeyEventMonitorClientLive(
accessibilityTrustProvider: { false },
accessibilityTrustPrompt: { false },
inputMonitoringTrustProvider: { false }
)
let token = monitor.handleKeyEvent { _ in false }
XCTAssertTrue(monitor.readState { true })
token.cancel()
}
}