Skip to content

Commit 4969510

Browse files
committed
chore(tests): keep native refresh coverage at the Electron boundary
1 parent 0e2b043 commit 4969510

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎apps/desktop/src/main/browser-agent/panel.test.ts‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,6 @@ describe('panel chat scope', () => {
115115
expect(view.setVisible).toHaveBeenLastCalledWith(false)
116116
expect(view.setBounds).not.toHaveBeenCalled()
117117

118-
await expect(panel.capturePanelSnapshot(win, scopeId)).resolves.toMatchObject({
119-
dataUrl: 'data:image/png;base64,c2lt',
120-
viewportBounds: { x: 400, y: 64, width: 600, height: 786 },
121-
})
122-
expect(view.webContents.capturePage).toHaveBeenLastCalledWith(undefined, { stayHidden: true })
123-
expect(view.setVisible).not.toHaveBeenCalledWith(true)
124-
125118
expect(panel.setPanelOccluded(false, win, scopeId)).toBe(true)
126119
expect(view.setVisible).toHaveBeenLastCalledWith(true)
127120
expect(view.webContents.invalidate).toHaveBeenCalledOnce()

0 commit comments

Comments
 (0)