test: expand overlay coverage

This commit is contained in:
Peter Steinberger
2025-12-24 17:42:34 +01:00
parent 49e466dd40
commit f4fb80e523
9 changed files with 168 additions and 2 deletions
@@ -215,6 +215,7 @@ final class HoverHUDController {
}
private func installDismissMonitor() {
if ProcessInfo.processInfo.isRunningTests { return }
guard self.dismissMonitor == nil, let window else { return }
self.dismissMonitor = NSEvent.addGlobalMonitorForEvents(matching: [
.leftMouseDown,