test(desktop): keep rebased checks green

This commit is contained in:
Hermes Agent
2026-09-24 19:48:12 -05:00
committed by brooklyn!
parent cc97da2888
commit 6dc19ad3c7

View File

@@ -182,9 +182,11 @@ describe('actOnActivePreview (drive_preview tool)', () => {
/** A driven pane whose post-click focus probe can be answered independently of
* the locate and the read-back. The probe is how a type learns whether the
* located editable actually became document.activeElement. */
const withTypedPane = (focus: { focused: boolean; tag?: string }, onSend?: (event: { type: string }) => void) => {
type SentKey = { keyCode?: string; type: string }
const withTypedPane = (focus: { focused: boolean; tag?: string }, onSend?: (event: SentKey) => void) => {
const tabId = openBrowserTab()
const send = vi.fn((event: { type: string }) => onSend?.(event))
const send = vi.fn((event: SentKey) => onSend?.(event))
cleanups.push(
registerPreviewScriptRunner(tabId, async code => {