test: widen the update-all scan window for the salvaged #95606 wiring pin
main's hermes:connections:update-all handler grew (renderer-side exclusions + the managed-SSH dispatch branch) after #95606 branched, pushing the claim- guarded dial past the 2,000-char slice.
This commit is contained in:
@@ -182,7 +182,9 @@ describe('main.ts wiring for #90812', () => {
|
||||
it('routes the connections update-all dispatch through the single-owner claim', () => {
|
||||
const handlerStart = mainSource.indexOf("ipcMain.handle('hermes:connections:update-all',")
|
||||
expect(handlerStart).toBeGreaterThan(-1)
|
||||
const body = mainSource.slice(handlerStart, handlerStart + 2_000)
|
||||
// The handler grew on main (renderer-side exclusions + the managed-SSH
|
||||
// dispatch branch) — keep the scan window comfortably past the dial.
|
||||
const body = mainSource.slice(handlerStart, handlerStart + 3_000)
|
||||
|
||||
expect(body).toContain('backendDialClaims.run(backendScopeKey(connection.id, null)')
|
||||
expect(body).toContain('ensureRegistryBackend(connection.id, null)')
|
||||
|
||||
Reference in New Issue
Block a user